[antlr-interest] Tuning parser to non-default channel

Iztok Kavkler iztok.kavkler at fmf.uni-lj.si
Mon May 4 03:25:03 PDT 2009


The ANTLR reference claims that parser can tune to any channel, however 
I couldn't find any mention about how this can be done. What I'd like is 
  to use grammar rule like this (or something equivalent):

end_statement: options { channels = NEWLINES; } : NEWLINE ;

Is something like this possible?


More information about the antlr-interest mailing list