summaryrefslogtreecommitdiff
path: root/cparser/Elab.ml
diff options
context:
space:
mode:
Diffstat (limited to 'cparser/Elab.ml')
-rw-r--r--cparser/Elab.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/cparser/Elab.ml b/cparser/Elab.ml
index 6c14836..f6731e4 100644
--- a/cparser/Elab.ml
+++ b/cparser/Elab.ml
@@ -280,7 +280,7 @@ let elab_attribute loc = function
| ("const", []) -> [AConst]
| ("restrict", []) -> [ARestrict]
| ("volatile", []) -> [AVolatile]
- | (("attribute" | "__attribute__"), l) ->
+ | (("__attribute" | "__attribute__"), l) ->
List.flatten (List.map (elab_gcc_attr loc) l)
| (name, _) ->
warning loc "`%s' annotation ignored" name; []