Open virtuald opened 4 years ago
Copied from: https://sourceforge.net/p/cppheaderparser/bugs/65/ Reported by: https://sourceforge.net/u/phlibi/
Enum values have inserted a space between the numeric sign and the number:
h=CppHeaderParser.CppHeader('''enum { FOO = -123 }; ''', argType='string') print(h.enums)
yields:
[{'line_number': 1, 'namespace': '', 'type': int, 'typedef': False, 'values': [{'name': 'FOO', 'value': '- 123'}]}]
Note the space between '-' and '123'.
Copied from: https://sourceforge.net/p/cppheaderparser/bugs/65/ Reported by: https://sourceforge.net/u/phlibi/
Enum values have inserted a space between the numeric sign and the number:
yields:
Note the space between '-' and '123'.