[antlr-interest] Delimited identifiers and suffix functions

John.Ericson at thomson.com John.Ericson at thomson.com
Mon Dec 12 09:22:59 PST 2005


I am having a problem with parser nondeterminism between alt 1 and the
exit branch of the following rule (simplified)...

member : identifier (DOT identifier)*
	   (DOT LASTCHILD
	 | DOT LAG OPEN_PAREN index CLOSE_PAREN)*
       ;

I want to successfully parse the following types of members...

ident0.ident1.ident2.identN
ident0.ident1.ident2.identN.lastchild
ident0.ident1.ident2.identN.lastchild.lag(1)


Any ideas?

	John Ericson
	Sr. Programmer/Analyst
	Thomson Medstat

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20051212/3a6958ec/attachment.html


More information about the antlr-interest mailing list