[antlr-interest] ambiguous grammar
John D. Mitchell
johnm-antlr at non.net
Sat Jan 18 17:33:53 PST 2003
>>>>> "beeh1973" == beeh1973 <hastur4711 at bigfoot com> <hastur4711 at bigfoot.com> writes:
[...]
> while parsing $.1 i get an error that FLOAT is unexpected at that point.
> while i understand why this is happening; a call to nextToken simply
> returns the next token which is a FLOAT no DOT, i do not understand how
> to fix the grammar. can anybody help me with this?
[There's probably a FAQ for this.]
Look at the lexers in the Java and/or Standard C for working examples of
how to deal with this sort of thing.
Go wild,
John
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
More information about the antlr-interest
mailing list