[antlr-interest] Parse tree in the debugger
spamhole at gmx.at
Tue Sep 23 12:32:31 PDT 2008
I have finally figured out what is causing the problem.
To reproduce: Put the grammar file into a directory with whitespace in
its name, like "My Directory". And set the output directory to empty (so
the output will be put into the same directory as the grammar file).
When you launch the debugger on this grammar, it will output silly
symbol names in the parse tree. The problem goes away when you put the
grammar into a directory that doesn't contain spaces in its name (like
Please try this out and let me know if you can reproduce the problem now.
Markus Stoeger schrieb:
> Markus Stoeger schrieb:
>> Terence Parr schrieb:
>>> Hi gang,Did we ever figure out what's going on here?
>> I've bought a new notebook yesterday and will try it out on that yet new
>> system as soon as possible (probably on sunday).
> I've tried it out right now and it works on the new system! I just
> compiled the simple grammar that I have posted before (with the x+y) and
> all symbols are displayed correctly in the debugger's parse tree view now.
> But I still don't understand why it doesn't work on the old system, on
> the system at work and on the VMWare system.
> One difference between the systems is XP and Vista. I'm running XP
> (multilang) on all systems where it displays those "ands". Java versions
> are identical (1.6.7).
> List: http://www.antlr.org/mailman/listinfo/antlr-interest
> Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-email-address
More information about the antlr-interest