[antlr-interest] Consumed input in V3

Jim Idle jimi at intersystems.com
Fri Mar 2 09:26:38 PST 2007


Looks like you need:

rule	:	i1=Identifier
        	('.' i2+=Identifier)*
        	-> ^(ID $i1 $i2*)
	;


Jim
http://www.linkedin.com/in/jimidle

-----Original Message-----
From: antlr-interest-bounces at antlr.org
[mailto:antlr-interest-bounces at antlr.org] On Behalf Of Mark Bednarczyk
Sent: Friday, March 02, 2007 9:20 AM
To: 'ANTLR Interest'
Subject: [antlr-interest] Consumed input in V3

I've been scratching my head on this little rule for a while since since
I
discovered my fully qualified names are being rewritten incorrecly:
 
rule	:	i1=Identifier
        	('.' i2=Identifier)*
        	-> ^(ID $i1 ($i2)*)
	;



More information about the antlr-interest mailing list