[antlr-interest] A little problem with DOT in numbers and as lineterminators.

Eric Merritt cyberlync at gmail.com
Thu Mar 10 16:38:23 PST 2005


 Actually k=3 for various other reasons. It should have enough look
ahead to tell the difference, but looking at the generated source it
doesn't even attempt to look ahead before consuming the '.'


> 
> Is k>=2 or k=1? It will always try and consume the next '.' if k=1 since it
> can't determine that a DIGIT always follows.
> 
> Nigel
> 
> --
> Nigel Sheridan-Smith
> PhD research student
> 
> Faculty of Engineering
> University of Technology, Sydney
> Phone: 02 9514 7946
> Fax: 02 9514 2435
> 
> 


-- 
I'm a programmer, I don't have to spell correctly; I just have to
spell consistently


More information about the antlr-interest mailing list