improved error reporting for initialization expressions

miscellaneous changes
This commit is contained in:
dick
1986-03-14 16:15:16 +00:00
parent 6e53274b6a
commit c80f2c0817
15 changed files with 197 additions and 136 deletions

View File

@@ -231,7 +231,7 @@ conditional_expression(struct expr **expp;)
{check_conditional(e2, '=', "after :");}
{
ch7bin(&e1, ':', e2);
opnd2test(expp, NOTEQUAL);
opnd2test(expp, '?');
ch7bin(expp, '?', e1);
}
]?