projects
/
platform
/
upstream
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e5b230
)
(enumlist): Propagate error_mark_node.
author
Richard Kenner
<kenner@gcc.gnu.org>
Fri, 22 Sep 1995 23:08:27 +0000
(19:08 -0400)
committer
Richard Kenner
<kenner@gcc.gnu.org>
Fri, 22 Sep 1995 23:08:27 +0000
(19:08 -0400)
From-SVN: r10396
gcc/c-parse.in
patch
|
blob
|
history
diff --git
a/gcc/c-parse.in
b/gcc/c-parse.in
index
4d63f61
..
044e452
100644
(file)
--- a/
gcc/c-parse.in
+++ b/
gcc/c-parse.in
@@
-1490,7
+1490,10
@@
component_declarator:
enumlist:
enumerator
| enumlist ',' enumerator
- { $$ = chainon ($3, $1); }
+ { if ($1 == error_mark_node)
+ $$ = $1;
+ else
+ $$ = chainon ($3, $1); }
| error
{ $$ = error_mark_node; }
;