[antlr-interest] ANTLR 3.1, headers in imported grammars

Dimitrios Kolovos dskolovos at gmail.com
Fri Jun 20 03:15:51 PDT 2008


Thanks for the tip! I'll stick to what I have for now but this is good 
to know!

Cheers,
Dimitrios

Terence Parr wrote:
> i don't check actions so you should be able to do say:
>
> @Dimitrios {...}
>
> and then ref <actions.Dimitrios> or something in the templates.  No 
> code change :)
>
> Ter
> On Jun 19, 2008, at 3:55 PM, Dimitrios Kolovos wrote:
>
>> I understand :)
>>
>> It's not urgent (at least for me) as I've modified the Tool class to 
>> support both multiple libs and also prepend the missing package 
>> declaration in the generated files so I can do my work for now.
>>
>> BTW, if anyone has the same problem until it is properly fixed, 
>> please feel free to contact me and I'll be happy to share the 
>> modified Tool code.
>>
>> Cheers,
>> Dimitrios
>>
>> Terence Parr wrote:
>>>
>>> On Jun 19, 2008, at 11:11 AM, Dimitrios Kolovos wrote:
>>>
>>>> Hi Ter,
>>>>
>>>> Looks good! Thanks!
>>>>
>>>> Would you also consider adding support for multiple lib directories 
>>>> in the org.antlr.Tool class in 3.1?
>>>
>>> We definitely need...not sure if 3.1 is right release....i'm hoping 
>>> to get the damn thing out shortly ;)  Still in ireland...Jim Idle 
>>> has a few tweaks to do before we go b2.
>>>
>>> Ter
>>>
>
>


More information about the antlr-interest mailing list