On Wed, Nov 16, 2011 at 8:45 PM, Jarrod Roberson <jar...@vertigrated.com>wrote:
> > > Or even the input: "123 /* some comments */ . /* more comments */ 5" > would > > be a valid `number`... :) > > > > Is there a way to support both > > a -> 1. > b -> 1.1. > > in a pure lexer rule then, I didn't think there was? > > See my earlier reply: http://antlr.markmail.org/message/wtwq2vbmhedek2cn in this thread. "1." would become: INTEGER, DOT "1.1." would become: FLOAT, DOT "1 . 1" would become: INTEGER SPACE DOT SPACE INTEGER Regards, Bart. 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 il-antlr-inter...@googlegroups.com. To unsubscribe from this group, send email to il-antlr-interest+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/il-antlr-interest?hl=en.