expression nodes now can have a flag EX_ERROR

This commit is contained in:
dick
1986-03-27 18:17:48 +00:00
parent f2764393be
commit ad1feaf35c
11 changed files with 50 additions and 38 deletions

View File

@@ -71,7 +71,8 @@ control_if_expression
{
#ifndef NOPP
if (expr->ex_flags & EX_SIZEOF)
error("sizeof not allowed in preprocessor");
expr_error(expr,
"sizeof not allowed in preprocessor");
ifval = expr->VL_VALUE;
free_expression(expr);
#endif NOPP