Skip to content

Add argument to properly disallow nested macros#795

Merged
marcoeilers merged 3 commits into
masterfrom
meilers_disallow_nested_macros
May 14, 2024
Merged

Add argument to properly disallow nested macros#795
marcoeilers merged 3 commits into
masterfrom
meilers_disallow_nested_macros

Conversation

@marcoeilers

Copy link
Copy Markdown
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
Copy Markdown
Contributor

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

@marcoeilers marcoeilers merged commit 1b588f0 into master May 14, 2024
@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