Add support for the __int128 type.
This type is not part of the core C99 or C11 standards, but is mentioned
in both documents under "Common extensions".
diff --git a/tests/test_c_parser.py b/tests/test_c_parser.py
index e32c49d..2bd43d1 100755
--- a/tests/test_c_parser.py
+++ b/tests/test_c_parser.py
@@ -285,6 +285,11 @@
],
['TypeDecl', ['IdentifierType', ['int']]]]])
+ def test_int128(self):
+ self.assertEqual(self.get_decl('__int128 a;'),
+ ['Decl', 'a', ['TypeDecl', ['IdentifierType', ['__int128']]]])
+
+
def test_nested_decls(self): # the fun begins
self.assertEqual(self.get_decl('char** ar2D;'),
['Decl', 'ar2D',