projects
/
cparser
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
5de5d36
)
eat() the ':' token of a label statement instead of expect()ing it, because the looka...
author
Christoph Mallon
<christoph.mallon@gmx.de>
Tue, 11 Dec 2007 19:11:50 +0000
(19:11 +0000)
committer
Christoph Mallon
<christoph.mallon@gmx.de>
Tue, 11 Dec 2007 19:11:50 +0000
(19:11 +0000)
[r18674]
parser.c
patch
|
blob
|
history
diff --git
a/parser.c
b/parser.c
index
1fc7cea
..
24f0a18
100644
(file)
--- a/
parser.c
+++ b/
parser.c
@@
-4847,7
+4847,7
@@
static statement_t *parse_label_statement(void)
label_statement->statement.source_position = token.source_position;
label_statement->label = label;
- e
xpec
t(':');
+ e
a
t(':');
if(token.type == '}') {
/* TODO only warn? */