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
chibicc -E macro.c
will get
BAR() 1
however
gcc -E macro.c
BAR_I ()() 1 1 1
// macro.c #define EMPTY() #define DEFER(id) id EMPTY() #define EXPAND(...) __VA_ARGS__ #define BAR_I() BAR #define BAR() DEFER(BAR_I)()() 1 EXPAND(EXPAND(BAR()))
The text was updated successfully, but these errors were encountered:
This fork has it fixed: https://github.com/n0tknowing/chibicc
Or checkout my fork's alternative algorithm fuhsnn/slimcc@c3a1194
Sorry, something went wrong.
No branches or pull requests
will get
however
will get
The text was updated successfully, but these errors were encountered: