7 Commits

Author SHA1 Message Date
Dustin Spicuzza
4febbe5d0d Fix #line directives 2023-08-22 10:02:22 -04:00
Dustin Spicuzza
bd9907ad79 Restructure preprocessor support
- Remove partial support for #define and other PP directives
- Allow pragma to span multiple lines
- Pragma now emits a list of tokens instead of a single string
- Ignore #warning directive if present
2023-08-19 19:42:05 -04:00
Dustin Spicuzza
b07e1f81a6 Discard line continuations
- Fixes #54
2023-07-23 17:02:32 -04:00
Dustin Spicuzza
e5295070a0 Add support for parsing user defined literals 2022-12-15 02:55:07 -05:00
Dustin Spicuzza
9756025e2d mypy: add None return types to functions that don't return a value 2022-01-02 21:30:41 -05:00
Dustin Spicuzza
b611b9189a Allow using 'final' as a name in some contexts
- Strictly speaking, this fix will allow 'final' in some contexts where it isn't actually
  allowed. However, cxxheaderparser "will not reject all invalid C++ headers!" so this is ok
- Fixes #14
2021-11-26 00:28:54 -05:00
Dustin Spicuzza
ef5c22972b Initial commit 2020-12-28 03:43:37 -05:00