[antlr-interest] missing MATCHRANGE macro

Christian chwchw at gmx.de
Mon Nov 7 03:15:26 PST 2011


Am 07.11.2011 11:17, schrieb yushang:
> '0'..'9' ('0'..'9')*
You can also optimize such rules to

('0'..'9')+


This has the same semantics as your rule above.

Regards,
Christian


More information about the antlr-interest mailing list