]> gcc.gnu.org Git - gcc.git/commitdiff
(all_iter_stmt_simple): Add missing `else'.
authorRichard Stallman <rms@gnu.org>
Sat, 26 Jun 1993 00:14:16 +0000 (00:14 +0000)
committerRichard Stallman <rms@gnu.org>
Sat, 26 Jun 1993 00:14:16 +0000 (00:14 +0000)
From-SVN: r4736

gcc/c-parse.in

index c5ff5a9a809839b715876e5ab6c6a1412cbdf48a..732d17fbda6ae04e28b63a0a527471196a609208 100644 (file)
@@ -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))
This page took 0.057115 seconds and 5 git commands to generate.