projects
/
cparser
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5742971
)
Improve error recovery: eat_until_anchor() when parse_primary_expression() finds...
author
Christoph Mallon
<christoph.mallon@gmx.de>
Sun, 6 Feb 2011 07:51:08 +0000
(07:51 +0000)
committer
Christoph Mallon
<christoph.mallon@gmx.de>
Sun, 6 Feb 2011 07:51:08 +0000
(07:51 +0000)
[r28322]
parser.c
patch
|
blob
|
history
diff --git
a/parser.c
b/parser.c
index
8eaf7d4
..
8984d95
100644
(file)
--- a/
parser.c
+++ b/
parser.c
@@
-7154,6
+7154,7
@@
static expression_t *parse_primary_expression(void)
}
errorf(HERE, "unexpected token %K, expected an expression", &token);
+ eat_until_anchor();
return create_invalid_expression();
}