projects
/
cparser
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7487634
)
Discard all non-anchors from the input, not just the first one.
author
Christoph Mallon
<christoph.mallon@gmx.de>
Wed, 25 Apr 2012 07:01:50 +0000
(09:01 +0200)
committer
Christoph Mallon
<christoph.mallon@gmx.de>
Thu, 26 Apr 2012 07:57:52 +0000
(09:57 +0200)
parser.c
patch
|
blob
|
history
diff --git
a/parser.c
b/parser.c
index
386eab2
..
200f5ae
100644
(file)
--- a/
parser.c
+++ b/
parser.c
@@
-10072,8
+10072,7
@@
static statement_t *intern_parse_statement(void)
default:
errorf(HERE, "unexpected token %K while parsing statement", &token);
statement = create_error_statement();
- if (!at_anchor())
- next_token();
+ eat_until_anchor();
break;
}
rem_anchor_token(';');