projects
/
cparser
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
04abf41
)
compound type specifiers can have __attribute__, too. Parse it (and ignore it for...
author
Christoph Mallon
<christoph.mallon@gmx.de>
Sun, 18 Nov 2007 12:24:04 +0000
(12:24 +0000)
committer
Christoph Mallon
<christoph.mallon@gmx.de>
Sun, 18 Nov 2007 12:24:04 +0000
(12:24 +0000)
[r18484]
parser.c
patch
|
blob
|
history
diff --git
a/parser.c
b/parser.c
index
6bf4752
..
f030107
100644
(file)
--- a/
parser.c
+++ b/
parser.c
@@
-960,6
+960,11
@@
static declaration_t *parse_compound_type_specifier(bool is_struct)
symbol_t *symbol = NULL;
declaration_t *declaration = NULL;
+ if (token.type == T___attribute__) {
+ /* TODO */
+ parse_attributes();
+ }
+
if(token.type == T_IDENTIFIER) {
symbol = token.v.symbol;
next_token();