projects
/
cparser
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6690197
)
Do not eat() the semicolon at the end of a local label declaration, but expect() it.
author
Christoph Mallon
<christoph.mallon@gmx.de>
Sat, 5 Feb 2011 09:04:07 +0000
(09:04 +0000)
committer
Christoph Mallon
<christoph.mallon@gmx.de>
Sat, 5 Feb 2011 09:04:07 +0000
(09:04 +0000)
[r28308]
parser.c
patch
|
blob
|
history
diff --git
a/parser.c
b/parser.c
index
c476ed7
..
ce7ce2f
100644
(file)
--- a/
parser.c
+++ b/
parser.c
@@
-10130,7
+10130,7
@@
static statement_t *parse_local_label_declaration(void)
}
next_token();
} while (next_if(','));
- e
at(';'
);
+ e
xpect(';', end_error
);
end_error:
statement->declaration.declarations_begin = begin;
statement->declaration.declarations_end = end;