more calls of expr_error() for better error reporting

This commit is contained in:
dick
1986-03-15 18:16:30 +00:00
parent c80f2c0817
commit 021d8d1fec
6 changed files with 76 additions and 49 deletions

View File

@@ -109,7 +109,7 @@ check_conditional(expr, oper, pos_descr)
the operator oper.
*/
if (options['R'] && rank_of_expression(expr) >= rank_of(oper))
warning("%s %s is ungrammatical",
expr_warning(expr, "%s %s is ungrammatical",
symbol2str(expr->OP_OPER), pos_descr);
}