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

Expose mode_stack on Lexer #24

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

timboudreau
Copy link

I'm attempting to use a grammar originally generated to Java, which contains a number of lexer actions that behave differently depending on the current mode / contents of the mode stack. This patch simply exposes the mode_stack field, just as it would be exposed to subclasses in a generated Java lexer.

@rrevenantt rrevenantt force-pushed the master branch 3 times, most recently from 0e0c2b1 to 3c36c28 Compare August 16, 2021 12:09
@rrevenantt rrevenantt force-pushed the master branch 3 times, most recently from c402ec4 to 43bb370 Compare January 10, 2022 00:37
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.

1 participant