[antlr-interest] * is a non-unique reference
Jim Idle
jimi at temporal-wave.com
Wed Apr 16 09:59:23 PDT 2008
Try:
t1=T_Ident{callback.ImplementationModule($t1.text);} ...
Jim
> -----Original Message-----
> From: antlr-interest-bounces at antlr.org [mailto:antlr-interest-
> bounces at antlr.org] On Behalf Of jabon
> Sent: Wednesday, April 16, 2008 9:57 AM
> To: ANTLRDev Interest
> Subject: [antlr-interest] * is a non-unique reference
>
> hi all,
>
> I begun to use a parser but I have problem to get the text of a token
>
> there my rule
>
> document : T_Implementation T_Module
> T_Ident{callback.ImplementationModule($T_Ident.text);} T_SemiColon
> importclause* T_End T_Ident T_SemiColon;
>
> and I would like to get the T_ident text but I have the follow error
>
> error(127): Pyaflplug.g:19:46: T_Ident is a non-unique reference
>
> and I don't understand (noob m I , sorry)
>
> thanks
>
>
> a+++
>
>
> No virus found in this incoming message.
> Checked by AVG.
> Version: 7.5.524 / Virus Database: 269.23.0/1379 - Release Date:
> 4/15/2008 6:10 PM
>
No virus found in this outgoing message.
Checked by AVG.
Version: 7.5.524 / Virus Database: 269.23.0/1379 - Release Date: 4/15/2008 6:10 PM
More information about the antlr-interest
mailing list