2009/12/13 Jim Idle <[email protected]>:
> This usually means that your lexer token numbers are out of sync with your
> parser tokens. Regen in correct order and make sure all tokens have been
> declared.
>

Umm, what if I work with combined grammar? And some of literals are 'inlined'?

> Jim
>
> On Dec 13, 2009, at 11:23, Marcin Rzeźnicki <[email protected]>
> wrote:
>
>> Hi all,
>> What could possibly MismatchedTokenException(0!=0) mean? It happened
>> to me when matching lexer token in parser. Input is as expected (the
>> text at the point of error matches what would go into this specific
>> token). It looks like ANTLR lost track of token type identifiers.
>>
>> --
>> Greetings
>> Marcin Rzeźnicki
>>
>> List: http://www.antlr.org/mailman/listinfo/antlr-interest
>> Unsubscribe:
>> http://www.antlr.org/mailman/options/antlr-interest/your-email-address
>



-- 
Pozdrawiam
Marcin Rzeźnicki

List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe: 
http://www.antlr.org/mailman/options/antlr-interest/your-email-address

--

You received this message because you are subscribed to the Google Groups 
"il-antlr-interest" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/il-antlr-interest?hl=en.


Reply via email to