You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reported by tomokiyo on 2004-08-04 20:54 UTC
If I specify a lookahead regex when %ignorecase is
specified, I got the following error (from attached
jflex source):
Reading "Foo.flex"
Exception in thread "main" java.lang.Error: Unkown
expression type 45 in type = 45
content :
foo
at JFlex.SemCheck.length(SemCheck.java:136)
at JFlex.SemCheck.checkLookAhead(SemCheck.java:84)
at JFlex.SemCheck.check(SemCheck.java:61)
at
JFlex.CUP$LexParse$actions.CUP$LexParse$do_action(LexParse.java:1653)
at JFlex.LexParse.do_action(LexParse.java:389)
at
java_cup.runtime.lr_parser.parse(lr_parser.java:569)
at JFlex.Main.generate(Main.java:73)
at JFlex.Main.generate(Main.java:303)
at JFlex.Main.main(Main.java:320)
I'm using JFlex 1.4.
The text was updated successfully, but these errors were encountered:
lsf37
changed the title
Cannot use lookahead with ignorecase
[Bug] Cannot use lookahead with ignorecase [sf#66]
Feb 15, 2015
Reported by tomokiyo on 2004-08-04 20:54 UTC
If I specify a lookahead regex when %ignorecase is
specified, I got the following error (from attached
jflex source):
Reading "Foo.flex"
Exception in thread "main" java.lang.Error: Unkown
expression type 45 in type = 45
content :
foo
at JFlex.SemCheck.length(SemCheck.java:136)
at JFlex.SemCheck.checkLookAhead(SemCheck.java:84)
at JFlex.SemCheck.check(SemCheck.java:61)
at
JFlex.CUP$LexParse$actions.CUP$LexParse$do_action(LexParse.java:1653)
at JFlex.LexParse.do_action(LexParse.java:389)
at
java_cup.runtime.lr_parser.parse(lr_parser.java:569)
at JFlex.Main.generate(Main.java:73)
at JFlex.Main.generate(Main.java:303)
at JFlex.Main.main(Main.java:320)
I'm using JFlex 1.4.
The text was updated successfully, but these errors were encountered: