[scanner] Support unsigned long/short int
authorAlan Knowles <alan@akbkhome.com>
Sat, 3 Apr 2010 10:09:31 +0000 (18:09 +0800)
committerJohan Dahlin <johan@gnome.org>
Tue, 25 May 2010 17:05:26 +0000 (14:05 -0300)
giscanner/ast.py

index 042f7b1c797148aeb3146076fcb114bc36028072..bd162514e2f758e36326de1f300a6c78b22abbb9 100644 (file)
@@ -103,12 +103,14 @@ type_names['signed short'] = TYPE_SHORT
 type_names['unsigned short'] = TYPE_USHORT
 type_names['int'] = TYPE_INT
 type_names['signed int'] = TYPE_INT
+type_names['unsigned short int'] = TYPE_USHORT
 type_names['signed'] = TYPE_INT
 type_names['unsigned int'] = TYPE_UINT
 type_names['unsigned'] = TYPE_UINT
 type_names['long'] = TYPE_LONG
 type_names['signed long'] = TYPE_LONG
 type_names['unsigned long'] = TYPE_ULONG
+type_names['unsigned long int'] = TYPE_ULONG
 type_names['float'] = TYPE_FLOAT
 type_names['double'] = TYPE_DOUBLE
 type_names['char*'] = TYPE_STRING