summaryrefslogtreecommitdiff
path: root/cparser/C.mli
diff options
context:
space:
mode:
authorGravatar xleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e>2010-07-08 09:15:23 +0000
committerGravatar xleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e>2010-07-08 09:15:23 +0000
commitc838d3368f840ca35a638f8e8f6379fbf9606783 (patch)
treed91127ddfd4adf4fe08f4efb977dad52b7ae9dbc /cparser/C.mli
parent118c148ec89dc0b53bb377cf637cfdcd800f06e5 (diff)
Preliminary support for gcc-style __attribute__ over types
git-svn-id: https://yquem.inria.fr/compcert/svn/compcert/trunk@1377 fca1b0fc-160b-0410-b1d3-a4f43f01ea2e
Diffstat (limited to 'cparser/C.mli')
-rw-r--r--cparser/C.mli11
1 files changed, 10 insertions, 1 deletions
diff --git a/cparser/C.mli b/cparser/C.mli
index d477acd..9d5a7d7 100644
--- a/cparser/C.mli
+++ b/cparser/C.mli
@@ -61,7 +61,16 @@ type constant =
(** Attributes *)
-type attribute = AConst | AVolatile | ARestrict
+type attr_arg =
+ | AIdent of string
+ | AInt of int64
+ | AString of string
+
+type attribute =
+ | AConst
+ | AVolatile
+ | ARestrict
+ | Attr of string * attr_arg list
type attributes = attribute list