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

#define X <stdio> \n #include X #1

Open
cheery opened this issue Oct 21, 2015 · 0 comments
Open

#define X <stdio> \n #include X #1

cheery opened this issue Oct 21, 2015 · 0 comments

Comments

@cheery
Copy link
Owner

cheery commented Oct 21, 2015

https://www.reddit.com/r/programming/comments/3p6r2v/i_wrote_a_c_preprocessor_in_python_its_25_times/cw82qwn

The include statement should go through macroexpansion stage. I checked this in the standard before filing the issue.

Good question is whether should it be fixed? I don't mind if someone does fix it though. :)

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

No branches or pull requests

1 participant