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:
ef6fdd3
)
Parse __extension__ like GCC: It must not appear at the start of parameter declarations.
author
Christoph Mallon
<christoph.mallon@gmx.de>
Tue, 5 Jul 2011 09:37:47 +0000
(11:37 +0200)
committer
Christoph Mallon
<christoph.mallon@gmx.de>
Tue, 5 Jul 2011 10:09:19 +0000
(12:09 +0200)
parser.c
patch
|
blob
|
history
diff --git
a/parser.c
b/parser.c
index
50451c5
..
1f30b16
100644
(file)
--- a/
parser.c
+++ b/
parser.c
@@
-3326,7
+3326,6
@@
static void parse_parameters(function_type_t *type, scope_t *scope)
goto parameters_finished;
case T_IDENTIFIER:
- case T___extension__:
DECLARATION_START
{
entity_t *entity = parse_parameter();
@@
-4551,7
+4550,6
@@
static void parse_kr_declaration_list(entity_t *entity)
for (;;) {
switch (token.type) {
DECLARATION_START
- case T___extension__:
/* This covers symbols, which are no type, too, and results in
* better error messages. The typical cases are misspelled type
* names and missing includes. */