projects
/
cparser
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f2574a4
)
Fix off-by-one error in error message.
author
Christoph Mallon
<christoph.mallon@gmx.de>
Mon, 17 Nov 2008 11:04:20 +0000
(11:04 +0000)
committer
Christoph Mallon
<christoph.mallon@gmx.de>
Mon, 17 Nov 2008 11:04:20 +0000
(11:04 +0000)
[r23725]
parser.c
patch
|
blob
|
history
diff --git
a/parser.c
b/parser.c
index
7bfe397
..
13c69af
100644
(file)
--- a/
parser.c
+++ b/
parser.c
@@
-3019,8
+3019,8
@@
static void parse_enum_entries(type_t *const enum_type)
eat('{');
if (token.type == '}') {
- next_token();
errorf(HERE, "empty enum not allowed");
+ next_token();
return;
}