-
Notifications
You must be signed in to change notification settings - Fork 117
Unexpected exception encountered. Not normalised type = CHAR #939
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
Comments
This does look like an actual jflex bug. Thanks for reporting it, I'll take a closer look in the next few days. |
2 tasks
lsf37
added a commit
that referenced
this issue
Jan 1, 2023
lsf37
added a commit
that referenced
this issue
Jan 1, 2023
Signed-off-by: Gerwin Klein <lsf@jflex.de>
lsf37
added a commit
that referenced
this issue
Jan 1, 2023
Because we allow macros in the syntax for char class contents, we can get arbitrary regular expressions inside, not just char class content expressions. This commit turns the previous "cannot happen" check for such a case into proper error reporting. Fixes #888 and #939 Signed-off-by: Gerwin Klein <lsf@jflex.de>
lsf37
added a commit
that referenced
this issue
Jan 1, 2023
lsf37
added a commit
that referenced
this issue
Jan 1, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello.
I'm in the process of making a scanner for my Compiler Design class using JFlex and Cup and ran into this error. Not 100% sure if it's from my own code or something else and figured I'd report the bug anyway. Attached is the output after attempting to compile as well as a link to a repo of my current project that should reproduce the bug.
Any help at all would be appreciated thank you.
https://github.com/AidanSmiley/CompilerProjectP1/tree/main
The text was updated successfully, but these errors were encountered: