Thomas Woelfle wrote: > Hi, > > I've been running into a strange problem using ANTLR 3.1.1. I don't know > wether it is a bug in my grammar or a bug in ANTLR. > In the language that has to be parsed following lines are legal strings: > > 1. > 1.5. > > There is a rule where a numeric is followed by a dot. > Please look in the FAQ/examples:
http://www.antlr.org/wiki/display/ANTLR3/Lexer+grammar+for+floating+point%2C+dot%2C+range%2C+time+specs You should be able to simplify the grammar here to just what you need. Jim List: http://www.antlr.org/mailman/listinfo/antlr-interest Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-email-address --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "il-antlr-interest" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/il-antlr-interest?hl=en -~----------~----~----~----~------~----~------~--~---
