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

Is it possible to inspect the state stack in helper functions? #239

Open
retorquere opened this issue Aug 21, 2014 · 1 comment
Open

Is it possible to inspect the state stack in helper functions? #239

retorquere opened this issue Aug 21, 2014 · 1 comment

Comments

@retorquere
Copy link

I want to peek into the state stack in my helper functions. I can see I have access to the parser as "parser", and this does have a member "lexer", but that in turn does not have a member "conditionStack" as I would have expected.

@just-boris
Copy link

+1 I want to get better error messages from parser, instead of string message.
If I could get current match from lexer and current stack, I would make a better suggestion for my users how to fix a syntax error

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

No branches or pull requests

2 participants