[antlr-interest] (newbie question) rewrite rule

ali azimi aliaazimi at yahoo.com
Mon Jul 9 13:53:19 PDT 2007


Hi,
   
  The following rewrite rule does not produces any error messages. But do you think it is correct? Can I use (expression?)* in the following?
   
  actualparameters
 :lc='('expression?(','(expression)?)*')'
 ->^(SLIST[$lc] (expression?)*)
 ;
   
  Many thanks in advance.
   
  Best wishes,
   
  AL

       
---------------------------------
Yahoo! oneSearch: Finally,  mobile search that gives answers, not web links. 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20070709/863303bf/attachment.html 


More information about the antlr-interest mailing list