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

Kay Roepke kroepke at classdump.org
Wed Jul 18 15:40:09 PDT 2007


On Jul 18, 2007, at 3:33 PM, Johannes Luber wrote:

> Not sure, what you mean with "total requirement", but I had to pass  
> down
> the Unicode character class and use it in a predicate. Due to hoisting
> the usage of parameters was out. Possibly the hoisting will force  
> me to
> move the scope variable setting upwards, but I haven't checked this  
> yet.
> Below is the grammar, if you're interested.

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.

cheers,
-k
-- 
Kay Röpke
http://classdump.org/






More information about the antlr-interest mailing list