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

Returning BisonSyntaxError #16

Open
joshstenis opened this issue May 11, 2021 · 0 comments
Open

Returning BisonSyntaxError #16

joshstenis opened this issue May 11, 2021 · 0 comments

Comments

@joshstenis
Copy link

Hello, forgive me for asking a possibly elementary question, but I am confused on how to get my on_someTarget methods to report an error (similar to yyerror) when an invalid input is passed into the parser. Ideally I want the code to print a message when there is an error to let the user know when the input does not follow the grammar rules. I need an answer pretty fast so if anyone can shed some light on how this works that would be wonderful.

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

1 participant