[antlr-interest] ANTLR 3.0.1: invalid character column in a mismatch character error message.

Terence Parr parrt at cs.usfca.edu
Tue Aug 12 14:50:27 PDT 2008


On Aug 12, 2008, at 2:37 PM, Gavin Lambert wrote:

> At 09:31 12/08/2008, Terence Parr wrote:
> >oh, right.  Well, yeah, people expect column...problem is what to
> >do with tabs etc...can override message handler though
>
> True, tabs could get tricky.
>
> Still, couldn't the lexer have a setTabSize() method or something?   
> Default it to 8, since that's the official standard tab size (even  
> though most people usually reduce it), and let the driver code (or  
> ANTLRworks) modify as needed.

that was how v2 worked I think...still was trouble ;)

Ter


More information about the antlr-interest mailing list