-
Notifications
You must be signed in to change notification settings - Fork 97
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
NullReferenceException when using optional term without specifing Ast node type #35
Comments
does it show in call stack where it happens? put grammar directly into samples project and then step thru in debugger, try to find where it happens. sorry, handling these situations is not perfect in Irony, you have to investigate; but in general, you can't 'bypass' it if some node type is missing |
@rivantsov Thanks for your quick response,
I added this line before this block and the issue is fixed: I'm not sure if it has side effects or not, I hope you can check and accept PR #36 if it's OK Also, Irony is a true master piece so I really hope It'll get your support and development continued :) |
Hi |
Hi folks,
I've the below grammar:
When I run grammar explorer and type "if x=true then y=5" it throws NullReferenceException
How to bypass this exception without having to create a class for each terminal or non-terminal ?
The text was updated successfully, but these errors were encountered: