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

wrong results for nested macroes #13

Open
Andy3531 opened this issue Apr 5, 2023 · 4 comments
Open

wrong results for nested macroes #13

Andy3531 opened this issue Apr 5, 2023 · 4 comments

Comments

@Andy3531
Copy link

Andy3531 commented Apr 5, 2023

No description provided.

@bnoazx005
Copy link
Owner

@Andy3531, could you provide any minimal reproducible example?

@tkausl
Copy link

tkausl commented Aug 13, 2023

Example: https://godbolt.org/z/nx7eKvs78
tcpp expands both __LINE__s before concatenation.

@dmikushin
Copy link
Contributor

This issue is now being covered by TestProcess_PassMacroIntoFuncMacroWithinAnotherFuncMacro_MacrosExpanded test, which is failing.

@bnoazx005
Copy link
Owner

For now nested macros processing doesn't work at all and I don't see an easy solution to fix that. I plan to fix the issue after refactoring of macro expansions algorithm.

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

4 participants