[antlr-interest] (newbie problem) rewrite rule question
Diehl, Matthew J
matthew.j.diehl at intel.com
Tue Jul 10 18:57:10 PDT 2007
Wow, I've gotta figure out how to reply to your messges in plain text
and disable the html ...
'return' must be a reserved word for ANTLR. While it did allow you to
create the parser for it...maybe it really shouldn't have. So alls you
have to do is right-click on 'return' in ANTLRWorks and click rename.
Then change it to returnRule or returning or re_turn or
somethingCompletelyDifferentFromReturn. I think that's what Terence was
telling you.
Matt
________________________________
From: antlr-interest-bounces at antlr.org
[mailto:antlr-interest-bounces at antlr.org] On Behalf Of ali azimi
Sent: Tuesday, July 10, 2007 6:52 PM
To: antlr-interest at antlr.org
Subject: Re: [antlr-interest] (newbie problem) rewrite rule
question
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20070710/8bc71da2/attachment-0001.html
More information about the antlr-interest
mailing list