[antlr-interest] Re: "PageLexer.cpp", line 89 # ';' expected befo re '}'

Jerry Dy jerrydy at sbcglobal.net
Thu Mar 18 10:13:39 PST 2004


--- In antlr-interest at yahoogroups.com, mzukowski at y... wrote:
> OTAGBEGIN: '<' ('/' {$setType(CTAGBEGIN)})?
> Should be
> OTAGBEGIN: '<' ('/' {$setType(CTAGBEGIN)};)?
> 
> You need a complete statement in an action, which for cpp means 
semicolon termination.

Small correction:
OTAGBEGIN: '<' ('/' {$setType(CTAGBEGIN);})?

It worked. Thanks!

-Jerry



 
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