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

Don't use underscore prefix, for -Wreserved-identifier compatibility #81

Open
seanm opened this issue Feb 3, 2022 · 0 comments
Open

Comments

@seanm
Copy link

seanm commented Feb 3, 2022

I've never used ragel, but another project I work on does, and it seems code ragel generates has warnings with clang's -Wreserved-identifier (because it uses an underscore prefix in variable/function names), ex:

_simple_lexer_actions, _simple_lexer_key_offsets, _simple_lexer_trans_keys, etc.

At least, I'm pretty sure this is code ragel generates. Please shoot me down if not. :)

The code is here.

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