lint update (merge from C compiler)

This commit is contained in:
dick
1990-12-07 14:42:26 +00:00
parent d9be4de96a
commit 495a037714
23 changed files with 869 additions and 504 deletions

View File

@@ -270,10 +270,15 @@ ch3bin(expp, oper, expr)
break;
case ',':
if (is_cp_cst(*expp))
if (is_cp_cst(*expp)) {
#ifdef LINT
hwarning("constant expression ignored");
#endif LINT
*expp = expr;
else
}
else {
*expp = new_oper(expr->ex_type, *expp, oper, expr);
}
(*expp)->ex_flags |= EX_COMMA;
break;
}