Skip to content

[Bug] Cannot use lookahead with ignorecase [sf#66] #68

@lsf37

Description

@lsf37

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugNot working as intended

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions