projects
/
cparser
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8691dba
)
Remove anchors, when they are not expected anymore.
author
Christoph Mallon
<christoph.mallon@gmx.de>
Thu, 26 Apr 2012 17:22:25 +0000
(19:22 +0200)
committer
Christoph Mallon
<christoph.mallon@gmx.de>
Thu, 26 Apr 2012 17:22:25 +0000
(19:22 +0200)
parser.c
patch
|
blob
|
history
diff --git
a/parser.c
b/parser.c
index
8d29162
..
c351692
100644
(file)
--- a/
parser.c
+++ b/
parser.c
@@
-4400,12
+4400,12
@@
static void parse_declaration_rest(entity_t *ndeclaration,
ndeclaration = parse_declarator(specifiers, flags);
rem_anchor_token('=');
}
+ rem_anchor_token(',');
+ rem_anchor_token(';');
expect(';', end_error);
end_error:
anonymous_entity = NULL;
- rem_anchor_token(';');
- rem_anchor_token(',');
}
static entity_t *finished_kr_declaration(entity_t *entity, bool is_definition)