Fix CPP domain modifiers: short can be unsigned and signed, but not short.

This commit is contained in:
Georg Brandl
2010-12-29 10:24:14 +01:00
parent 0c7d972c81
commit 13ebda2b76
+3 -3
View File
@@ -444,9 +444,9 @@ class DefinitionParser(object):
'mutable': None,
'const': None,
'typename': None,
'unsigned': set(('char', 'int', 'long')),
'signed': set(('char', 'int', 'long')),
'short': set(('int', 'short')),
'unsigned': set(('char', 'short', 'int', 'long')),
'signed': set(('char', 'short', 'int', 'long')),
'short': set(('int',)),
'long': set(('int', 'long', 'double'))
}