[antlr-interest] problem with literal match

mzukowski at bco.com mzukowski at bco.com
Wed Oct 3 13:47:01 PDT 2001


Here's a bug I sent directly to Ter:

> The lexer generator puts this line _after_ inserting everything into the
literals table:
>
> caseSensitiveLiterals = false;
>
> Of course it needs to be before since ANTLRHashString depends on it to
calculate the hashCode. Doh!
>
> At least it's an easy fix.

This was for the Java code generator, but I imagine the same problem might
be in the C++ one.


Monty
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20011003/92b61951/attachment.html


More information about the antlr-interest mailing list