summaryrefslogtreecommitdiffstats
path: root/src/java/com/sun/gluegen/cgram/GnuCParser.g
diff options
context:
space:
mode:
Diffstat (limited to 'src/java/com/sun/gluegen/cgram/GnuCParser.g')
-rw-r--r--src/java/com/sun/gluegen/cgram/GnuCParser.g10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/java/com/sun/gluegen/cgram/GnuCParser.g b/src/java/com/sun/gluegen/cgram/GnuCParser.g
index 7de057c..7b4c8f8 100644
--- a/src/java/com/sun/gluegen/cgram/GnuCParser.g
+++ b/src/java/com/sun/gluegen/cgram/GnuCParser.g
@@ -308,13 +308,19 @@ typeSpecifier [int specCount] returns [int retSpecCount]
| "char"
| "short"
| "int"
- | "__int32"
- | "__int64"
| "long"
| "float"
| "double"
| "signed"
| "unsigned"
+ | "__int32"
+ | "int32_t"
+ | "uint32_t"
+ | "__int64"
+ | "int64_t"
+ | "uint64_t"
+ | "ptrdiff_t"
+ | "size_t"
| structOrUnionSpecifier ( options{warnWhenFollowAmbig=false;}: attributeDecl )*
| enumSpecifier
| { specCount==0 }? typedefName