fails to parse unsigned integer constants with 'u' or 'U' suffix
Created originally on Bitbucket by Sauci (Guillaume Sottas)
the parser is unable to parse the bellow (valid) c string: enum my_enum {ENUMERATOR_0 = 0x00u, ENUMERATOR_0 = 0x01U}
at the moment, the conversion performed in cparser.py::_parse_constant takes care about the numeric base (10/16), but not the unsigned suffix, as shown in copied code bellow: ... if s.startswith('0x') or s.startswith('0X'): return int(s, 16) ... this leads to a call in the form int('0x00u') I would propose to add the bellow code before the return statement: if s.endswith('u') or s.endswith('U'): s = s[:-1]