[antlr-interest] a simple (not for me :)) grammar problem

Gavin Lambert antlr at mirality.co.nz
Mon Jan 7 04:24:56 PST 2008


At 21:20 7/01/2008, =?ISO-8859-9?Q?F=FDrat_K=FC=E7=FCk?= wrote:
 >
 >this is my simple solution:

It's not a solution if it doesn't work :)

Try doing what I suggested.  You really should handle the floats 
in the lexer, since you don't have to worry about whitespace 
weirdness that way.  And if you do it the way I said, it should 
work.



More information about the antlr-interest mailing list