[antlr-interest] sometimes ya just gotta smile

Terence Parr parrt at cs.usfca.edu
Fri Nov 26 08:51:37 PST 2004



On Nov 26, 2004, at 7:47 AM, Don Caton wrote:
> Yep.  So will a rule like this in a lexer:
>
>   LT: '<' ;
>
> because of a name clash with Antlr's internal LT() method.
>
> It would be real nice if Antlr had the option of adding an underscore 
> or
> some configurable prefix to all generated method names, i.e.:
>
>   options
>   {
>      methodPrefix = "rule_";
>   }

Sounds rational to me...perhaps 2.7.5?

Ter
--
CS Professor & Grad Director, University of San Francisco
Creator, ANTLR Parser Generator, http://www.antlr.org
Cofounder, http://www.jguru.com
Cofounder, http://www.knowspam.net enjoy email again!





 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/antlr-interest/

<*> To unsubscribe from this group, send an email to:
    antlr-interest-unsubscribe at yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 





More information about the antlr-interest mailing list