Skip to content
New issue

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

Poor escaping of keywords in C++ Union codegen #8353

Open
jkuszmaul opened this issue Jul 3, 2024 · 0 comments
Open

Poor escaping of keywords in C++ Union codegen #8353

jkuszmaul opened this issue Jul 3, 2024 · 0 comments

Comments

@jkuszmaul
Copy link
Contributor

I seem to be able to generate C++ code from schemas containing unions that does not compile if the unions contain C++ keywords in the correct spots. See #8352 as a demonstration which makes use of the existing keyword_test.fbs to generate invalid C++.

May get to this myself, may not. Creating this issue to document the presence of some remaining work to be done around keyword escaping in C++.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant