[antlr-interest] how to say filter=true with combined parser/lexer?
Terence Parr
parrt at cs.usfca.edu
Tue Feb 20 13:13:37 PST 2007
On Feb 20, 2007, at 12:09 PM, Martin d'Anjou wrote:
> This begs the question: In a combined lexer/parser, is there a way
> to set the lexer option filter=true?
>
> I tried @lexer::options { filter=true; } but it did not work.
good question...hmm...i guess not. I never really intended that to
work in a 2-level grammar. Perhaps just build the lexer in a
separate .g file.
Ter
More information about the antlr-interest
mailing list