[antlr-interest] Parse tree in the debugger

Jean Bovet antlr-list at arizona-software.ch
Tue Sep 23 20:19:23 PDT 2008


I'll check that but yes I fixed something a while back about white  
space.

Jean

On Sep 23, 2008, at 12:54 PM, Terence Parr wrote:

> Awesome news!Thanks for finding this.
>
> Jean: didn't we fix the whitespace issue in directory names earlier?
>
> Ter
> On Sep 23, 2008, at 12:32 PM, Markus Stoeger wrote:
>
>> 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
>> "MyDirectory").
>>
>> Please try this out and let me know if you can reproduce the  
>> problem now.
>>
>> Max
>>
>> Markus Stoeger schrieb:
>>> Markus Stoeger schrieb:
>>>
>>>> Terence Parr schrieb:
>>>>
>>>>
>>>>> Hi gang,Did we ever figure out what's going on here?
>>>>> Ter
>>>>>
>>>>>
>>>> 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).
>>>
>>> Max
>>>
>>>
>>> List: http://www.antlr.org/mailman/listinfo/antlr-interest
>>> Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-email-address
>>>
>>>
>>
>>
>> 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 mailing list