Skip to content

Ignoring %ignore for a rule? #934

Answered by MegaIng
jnwatson asked this question in Q&A
Jul 2, 2021 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

No. You can however define a Terminal like this:


start: FOO_BAR

FOO_BAR: FOO BAR

But then FOO and BAR have to be terminals. Inside a terminal %ignore is not applied.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@MegaIng
Comment options

@jnwatson
Comment options

Answer selected by jnwatson
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants