[antlr-interest] Unexpected results from an antlr parser
John B. Brodie
jbb at acm.org
Thu Aug 3 06:42:21 PDT 2006
Jeff Pickett asked:
>Hello,
>
>I am attempting to write a parser to parse the mozilla mork grammar. I
>am having problems.
>In the first part of the file is usually a dictionary where data (or
>cells) are encoded between parenthesis like this
>
>...(hexId=value)...
>
>Everything works fine up to the equals sign and then it fails to match
>the value.
>
>The output of the program is:
>...snipped...
Hi!
You have a naming mismatch between your parser and your lexer... Your
parser expects a LITERAL_1 yet your lexer produces a LITERALS_1.
More information about the antlr-interest
mailing list