diff options
author | xleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e> | 2010-07-08 09:15:23 +0000 |
---|---|---|
committer | xleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e> | 2010-07-08 09:15:23 +0000 |
commit | c838d3368f840ca35a638f8e8f6379fbf9606783 (patch) | |
tree | d91127ddfd4adf4fe08f4efb977dad52b7ae9dbc /cparser/C.mli | |
parent | 118c148ec89dc0b53bb377cf637cfdcd800f06e5 (diff) | |
download | compcert-c838d3368f840ca35a638f8e8f6379fbf9606783.tar.gz compcert-c838d3368f840ca35a638f8e8f6379fbf9606783.zip |
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.mli | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/cparser/C.mli b/cparser/C.mli index d477acda..9d5a7d73 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 |