Commit 4d06f1a2 by Richard Stallman

(all_iter_stmt_simple): Add missing `else'.

From-SVN: r4736
parent c157db53
......@@ -1799,7 +1799,7 @@ all_iter_stmt_simple:
$<itype>$ = 0;
if (TREE_CODE ($3) != VAR_DECL)
error ("invalid `for (ITERATOR)' syntax");
if (! ITERATOR_P ($3))
else if (! ITERATOR_P ($3))
error ("`%s' is not an iterator",
IDENTIFIER_POINTER (DECL_NAME ($3)));
else if (ITERATOR_BOUND_P ($3))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment