[antlr-interest] manual tree construction

Monty Zukowski monty at codetransform.com
Thu Sep 15 13:06:11 PDT 2005


Michael Laszlo wrote:
> Still fails for the same reason: expecting ')', found 'd'. Also note
> that antlr supports the use of unlabeled token references if the token
> is unique within the scope of the alternative.

Ack, I've been away too long.  You need commas, eg:

#( #[LITERAL_for, "for"], #e1, #e2, #e3, #s );

Cheers,

Monty


More information about the antlr-interest mailing list