[antlr-interest] (newbie problem) rewrite rule question

ali azimi aliaazimi at yahoo.com
Tue Jul 10 18:52:03 PDT 2007


Hi,
   
  My parser has been produced by the antlr. The word "return" has also been produced by the grammar. I do not understand why it should complain about it. What should I change it to? it sounds complicated.
   
  Al

Terence Parr <parrt at cs.usfca.edu> wrote:
  
On Jul 10, 2007, at 6:07 PM, ali azimi wrote:
> [01:44:10] \tmp\antlrworks\FinalProjectSimParser.java:23961: 
> illegal start of expression
> [01:44:10] return548=return();

Hi. The java perspective will tell you that return is a bad name for 
a method/rule. ;)

Ter



 
---------------------------------
Sucker-punch spam with award-winning protection.
 Try the free Yahoo! Mail Beta.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20070710/39357ac0/attachment.html 


More information about the antlr-interest mailing list