[antlr-interest] Re: Multilexer/parser

lgcraymer lgc at mail1.jpl.nasa.gov
Mon Jan 26 23:32:15 PST 2004


Try overriding consume() (inherited from LLkParser).  The other
relevant methods are "match" and "matchNot" (inherited from Parser).

--Loring


--- In antlr-interest at yahoogroups.com, "dotlessbraille"
<easjolly at i...> wrote:
> When doing multilexing is there any way to avoid having the master 
> parser consume the token in its grammar rule that invokes the slave 
> parser?  It would be much simpler in my situation to process this 
> token with the slave parser grammar.
> 
> Thanks,
> Susan J.


 

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