[antlr-interest] Using labels in actions of a tree parser

Mark Wright markwright at internode.on.net
Wed Aug 13 07:43:30 PDT 2008


Hi,

Maybe in the action you could try .text on the end like:

      { System.out.println($t.text); }

Regards, Mark

-- 


More information about the antlr-interest mailing list