Skip to content

[Bug] Lookahead error [sf#98] #100

@lsf37

Description

@lsf37

Reported by ccleve on 2008-07-14 22:40 UTC
I get the following message when generating a lexer:

java.lang.Error: When inserting lookahead expression: unkown expression type 42 in type = 42
content :
foo

Here's a simplified version of the file that generates the error:

%%
%class Test
%{
%}

foo="<foo>"|":"
bar=([:letter:])+

%%

{bar}/{foo} { return 1; }
(.) { return 0; }

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugNot working as intended

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions