[antlr-interest] v3 c# code gen: filter=true problem
Kay Roepke
kroepke at classdump.org
Mon Nov 27 05:18:50 PST 2006
On 24. Nov 2006, at 22:33 , Paul Shaffer wrote:
> Test case for grammer is below. If filter=true nothing is matched,
> even the input lines I know will match the string_def rule. If
> false the correct matches are found. I'm sure I completely
> misunderstand the purpose of filter or where to use it. The
> fuzzyJava example is just a lexer, perhaps that's my problem.
Exactly. You need to split it up in two grammars. Combined grammars
don't support filter yet.
HTH,
-k
--
Kay Röpke
http://classdump.org/
More information about the antlr-interest
mailing list