-
Notifications
You must be signed in to change notification settings - Fork 121
Description
Reported by akirschbaum on 2007-11-16 07:03 UTC
When compiling the attached input file as "jflex Bug.jflex" an NullPointerException is thrown.
The output of jflex is:
|Reading "Bug.jflex"
|
|Error in file "Bug.jflex" (line 5):
|Syntax error.
|}
|^
|java.lang.NullPointerException
| at JFlex.CUP$LexParse$actions.CUP$LexParse$do_action(LexParse.java:1504)
| at JFlex.LexParse.do_action(LexParse.java:389)
| at java_cup.runtime.lr_parser.parse_lookahead(lr_parser.java:1178)
| at java_cup.runtime.lr_parser.error_recovery(lr_parser.java:887)
| at java_cup.runtime.lr_parser.parse(lr_parser.java:598)
| at JFlex.Main.generate(Main.java:73)
| at JFlex.Main.generate(Main.java:303)
| at JFlex.Main.main(Main.java:320)
|1 error, 0 warnings.
Running "jflex --version" yields:
|This is JFlex 1.4.1