We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pragmas do not seem to be supported within typedefs. Updating tests.test_c_generator.TestCtoC.test_pragma to:
tests.test_c_generator.TestCtoC.test_pragma
def test_pragma(self): self._assert_ctoc_correct(r''' #pragma foo void f() { #pragma bar i = (a, b, c); } typedef struct s { #pragma baz } s; ''')
raises a ParseError.
ParseError
This occured in a source similar to:
typedef struct MyStruct { int a; #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wdeprecated-declarations" int b; #pragma GCC diagnostic pop }
The text was updated successfully, but these errors were encountered:
Add support for #pragma in struct_declaration (Issue #221). (#222)
ec23318
Perhaps this should be closed (#222)?
Sorry, something went wrong.
No branches or pull requests
Pragmas do not seem to be supported within typedefs.
Updating
tests.test_c_generator.TestCtoC.test_pragma
to:raises a
ParseError
.This occured in a source similar to:
The text was updated successfully, but these errors were encountered: