-
Notifications
You must be signed in to change notification settings - Fork 33
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
Not able to use INITIAL and an exclusive state #19
Comments
2 typos in your code:
should be
Thought: For improved robustness, jison should maybe check/test for this type of user-coder error in the lexer generator, so that this type of error is easier to diagnose for everyone. |
Oh my god how did I miss this. (This is not first time I have made such mistake) |
No sweat; as said, the current lexer engine doesn't exactly help to catch this type of mistake when using the jison tool.
|
…he lexer robust against user-programmer bugs such as zaach#19
…: this is testing the robustness of the jison-generated lexer engine.
…: this is testing the robustness of the jison-generated lexer engine.
I have this line which causes an error:
<INITIAL,MULTILINE_COMMENT>"/*" this.begin("MUTLILINE_COMMMENT");
where
MULTILINE_COMMENT
is successfully defined with%x MULTILINE_COMMENT
The text was updated successfully, but these errors were encountered: