projects
/
cparser
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
28fe814
)
The attribute __align__ may be used without an argument.
author
Christoph Mallon
<christoph.mallon@gmx.de>
Thu, 7 Aug 2008 14:04:05 +0000
(14:04 +0000)
committer
Christoph Mallon
<christoph.mallon@gmx.de>
Thu, 7 Aug 2008 14:04:05 +0000
(14:04 +0000)
[r21046]
parser.c
patch
|
blob
|
history
diff --git
a/parser.c
b/parser.c
index
ba8db6e
..
9ca64c1
100644
(file)
--- a/
parser.c
+++ b/
parser.c
@@
-1614,6
+1614,12
@@
static decl_modifiers_t parse_gnu_attribute(gnu_attribute_t **attributes)
break;
case GNU_AK_ALIGNED:
+ /* __align__ may be used without an argument */
+ if (attribute->have_arguments) {
+ parse_gnu_attribute_const_arg(attribute);
+ }
+ break;
+
case GNU_AK_FORMAT_ARG:
case GNU_AK_REGPARM:
case GNU_AK_TRAP_EXIT: