projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c157db5
)
(all_iter_stmt_simple): Add missing `else'.
author
Richard Stallman
<rms@gnu.org>
Sat, 26 Jun 1993 00:14:16 +0000
(
00:14
+0000)
committer
Richard Stallman
<rms@gnu.org>
Sat, 26 Jun 1993 00:14:16 +0000
(
00:14
+0000)
From-SVN: r4736
gcc/c-parse.in
patch
|
blob
|
history
diff --git
a/gcc/c-parse.in
b/gcc/c-parse.in
index c5ff5a9a809839b715876e5ab6c6a1412cbdf48a..732d17fbda6ae04e28b63a0a527471196a609208 100644
(file)
--- a/
gcc/c-parse.in
+++ b/
gcc/c-parse.in
@@
-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))