newer version

This commit is contained in:
ceriel
1986-04-22 23:22:19 +00:00
parent a46f20bff7
commit e8977ebb57
4 changed files with 13 additions and 6 deletions

View File

@@ -272,7 +272,7 @@ ExpectBool(nd)
chk_expr(nd);
if (nd->nd_type != bool_type) {
if (nd->nd_type != bool_type && nd->nd_type != error_type) {
node_error(nd, "boolean expression expected");
}