Skip to content

Expose mode_stack on Lexer - #24

Open
timboudreau wants to merge 2 commits into
rrevenantt:masterfrom
timboudreau:master
Open

Expose mode_stack on Lexer#24
timboudreau wants to merge 2 commits into
rrevenantt:masterfrom
timboudreau:master

Conversation

@timboudreau

Copy link
Copy Markdown

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