[antlr-interest] Return types on lexer rules do not seem to work.

Johannes Luber jaluber at gmx.de
Wed Jul 18 15:55:10 PDT 2007


Kay Roepke wrote:
> 
 > cool. so, does this mean scopes work for you? I think there shouldn't be
> necessity to use return values anymore, now that we have scopes.

You mean in the general sense? Yes, scopes work for me, although it
isn't clearly described somewhere, which rules require scope access. For
example, the XML parsing example on the wiki doesn't work, if the rule
with no scope usage has not access to the scope.

Best regards,
Johannes Luber


More information about the antlr-interest mailing list