[antlr-interest] python-lang parser to python target

Aaron Maxwell amax at redsymbol.net
Sun Jul 27 12:39:58 PDT 2008


On Sunday 27 July 2008 03:25:58 am Benjamin Niemann wrote:
> Hi Aaron,
>
> I checked your grammar, but for me the { pass } "hack" works correctly.
> Can you send me the generated PythonLexer.py that contains the bug?

Actually you are correct - putting in that {pass} statement does work 
correctly.  I just rebuilt and verified it.  My mistake - I think I 
mistakenly was editing one grammar and building via another copy before.

-- 
Aaron Maxwell
http://redsymbol.net


More information about the antlr-interest mailing list