[antlr-interest] newbie problem
ali azimi
aliaazimi at yahoo.com
Sat Jun 30 05:24:10 PDT 2007
Hi,
How can I modify the following antlr grammar to add a ',' ,whenever it matches more than one instance of 'variable':='expression' or 'informaltext'? In another word how can I modify the grammar to seperate the instances of for example 'infromaltext' by a comma?(so when there is just one 'informaltext', it does not add a comma).
taskbody:(variable':='expression)+
|informaltext+
;
Many thanks in advance
Regards,
Al
---------------------------------
Park yourself in front of a world of choices in alternative vehicles.
Visit the Yahoo! Auto Green Center.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20070630/20e1bd1b/attachment.html
More information about the antlr-interest
mailing list