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

GLSLPreprocessor: may enter infinite recursion #2635

Open
paroj opened this issue Oct 20, 2022 · 0 comments
Open

GLSLPreprocessor: may enter infinite recursion #2635

paroj opened this issue Oct 20, 2022 · 0 comments
Labels
Known Issues easy workaround exists or too intrusive to fix right away

Comments

@paroj
Copy link
Member

paroj commented Oct 20, 2022

#define foo bar foo
#define test foo
test

will infinitely try to expand test

foo
bar foo
bar bar foo
...

we track that test is expanded to avoid recursion into self, but above foo is causing it.

@paroj paroj added the Known Issues easy workaround exists or too intrusive to fix right away label Feb 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Known Issues easy workaround exists or too intrusive to fix right away
Projects
None yet
Development

No branches or pull requests

1 participant