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

Add argument to properly disallow nested macros #795

Merged
merged 3 commits into from
May 14, 2024

Conversation

marcoeilers
Copy link
Contributor

@JonasAlaif It looks to me as if the intention of the parser code is to disallow nested macro declarations (which would then prevent issues like #786), and the allowDefine value is just not properly forwarded in all cases in the stmtrule. Or am I mistaken and this is somehow in purpose?

@marcoeilers marcoeilers requested a review from JonasAlaif May 10, 2024 20:50
@JonasAlaif
Copy link
Contributor

From what I saw, yeah I think that that's the intention

@marcoeilers marcoeilers merged commit 1b588f0 into master May 14, 2024
5 checks passed
@marcoeilers marcoeilers deleted the meilers_disallow_nested_macros branch May 14, 2024 12:57
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

Successfully merging this pull request may close these issues.

2 participants