aboutsummaryrefslogtreecommitdiffstats
path: root/cparser/Parser.vy
diff options
context:
space:
mode:
Diffstat (limited to 'cparser/Parser.vy')
-rw-r--r--cparser/Parser.vy2
1 files changed, 1 insertions, 1 deletions
diff --git a/cparser/Parser.vy b/cparser/Parser.vy
index b3731809..79e3793d 100644
--- a/cparser/Parser.vy
+++ b/cparser/Parser.vy
@@ -560,7 +560,7 @@ gcc_attribute:
| w = gcc_attribute_word LPAREN RPAREN
{ GCC_ATTR_ARGS w [] }
| w = gcc_attribute_word LPAREN args = argument_expression_list RPAREN
- { GCC_ATTR_ARGS w args }
+ { GCC_ATTR_ARGS w (rev' args) }
gcc_attribute_word:
| i = OTHER_NAME