[antlr-interest] sometimes ya just gotta smile

Bryan Ewbank ewbank at synopsys.com
Wed Nov 24 11:57:59 PST 2004


How many other people have been bit by having a grammar production named
"operator" while using C++?  I stared at the code for quite a while before
realizing that:
	public: void operator()
is an illegal class member attempting to overload the function interface to
the class object.

Oh boy; time to go home.

- Bryan Ewbank
"The best tool for requirements analysis and design is a crayon"



 
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