On May 11, 2008, at 3:21 PM, Johannes Luber wrote: > Terence Parr schrieb: >> ok, back at work. interesting...yes, we must rebuild those....hang >> on...actually, you have Lexer2...that is a very old >> ActionTranslatorLexer...rm it. should ActionTranslator.java now. > > That worked. But now the java-from-v2 fails to compile the generated > code. I have to look into that more deeply, but NUM_LONG and > NUM_DOUBLE don't seem to be defined in the grammar, too. As the same > error is in the Java version, I wonder if this grammar should be > included in the examples anyway - and why the grammar building > nonetheless worked before today...
Removed those tokens. thanks...let's leave for now. it's a nice benchmark...you can ignore though or even throw out in other targets. OH: found a nasty bug in rewrite=true for tree parser with output=AST...debating about fixing or just turning off rewrite...hmm... Ter _______________________________________________ antlr-dev mailing list [email protected] http://www.antlr.org:8080/mailman/listinfo/antlr-dev
