Release of coccinelle 1.0.0-rc9
[bpt/coccinelle.git] / parsing_cocci / type_cocci.ml
index 95cc325..ead32f6 100644 (file)
@@ -49,8 +49,10 @@ and name =
 
 and tagged_string = string
 
-and baseType = VoidType | CharType | ShortType | IntType | DoubleType
-| FloatType | LongType | LongLongType | BoolType
+and baseType = VoidType | CharType | ShortType | ShortIntType | IntType
+| DoubleType | LongDoubleType | FloatType
+| LongType | LongIntType | LongLongType | LongLongIntType
+| SizeType | SSizeType | PtrDiffType | BoolType
 
 and structUnion = Struct | Union
 
@@ -95,12 +97,20 @@ and baseType = function
     VoidType -> "void "
   | CharType -> "char "
   | ShortType -> "short "
+  | ShortIntType -> "short int "
   | IntType -> "int "
   | DoubleType -> "double "
+  | LongDoubleType -> "long double "
   | FloatType -> "float "
   | LongType -> "long "
+  | LongIntType -> "long int "
   | LongLongType -> "long long "
+  | LongLongIntType -> "long long int "
   | BoolType -> "bool "
+  | SizeType -> "size_t "
+  | SSizeType -> "ssize_t "
+  | PtrDiffType -> "ptrdiff_t "
+
 
 and structUnion = function
     Struct -> "struct "