-
Notifications
You must be signed in to change notification settings - Fork 43
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
Preprocessor: improve the macro parameter handling #537
Labels
area:preprocessor
Related to C preprocessor
good-first-issue
An issue considered simple enough for new contributors
kind:feature
New feature or request
Comments
ForNeVeR
added
kind:feature
New feature or request
status:help-wanted
Open for contributors
area:preprocessor
Related to C preprocessor
good-first-issue
An issue considered simple enough for new contributors
labels
Jan 29, 2024
ForNeVeR
added a commit
that referenced
this issue
Jan 29, 2024
ForNeVeR
added a commit
that referenced
this issue
Jan 30, 2024
ForNeVeR
added a commit
that referenced
this issue
Feb 1, 2024
ForNeVeR
added a commit
that referenced
this issue
Feb 3, 2024
ForNeVeR
added a commit
that referenced
this issue
Feb 3, 2024
ForNeVeR
added a commit
that referenced
this issue
Feb 3, 2024
ForNeVeR
added a commit
that referenced
this issue
Feb 4, 2024
ForNeVeR
added a commit
that referenced
this issue
Feb 4, 2024
ForNeVeR
added a commit
that referenced
this issue
Feb 4, 2024
ForNeVeR
added a commit
that referenced
this issue
Feb 4, 2024
ForNeVeR
added a commit
that referenced
this issue
Feb 4, 2024
ForNeVeR
added a commit
that referenced
this issue
Feb 4, 2024
ForNeVeR
added a commit
that referenced
this issue
Feb 4, 2024
ForNeVeR
added a commit
that referenced
this issue
Feb 4, 2024
ForNeVeR
added a commit
that referenced
this issue
Feb 4, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area:preprocessor
Related to C preprocessor
good-first-issue
An issue considered simple enough for new contributors
kind:feature
New feature or request
Our current preprocessor implementation has a somewhat vague block of code that parses the macro parameters. While the easy cases are handled correctly, certain complex ones are not.
See
TODO[#537]
in the code for my proposal on the improvement (look nearCPreprocessor::ReplaceMacrosInLine
), and make sure to enable back the corresponding test.Also, I'm not sure the nested macros are currently processed properly. This is also in the scope of this task / proposal.
The text was updated successfully, but these errors were encountered: