[antlr-interest] unexpected token error

Ric Klaren klaren at cs.utwente.nl
Fri Mar 12 03:12:11 PST 2004


On Thu, Mar 11, 2004 at 08:57:02PM -0000, Jerry Dy wrote:
> page: DATA*

It should be (DATA)* the parenthesis are not optional in ANTLR's syntax. As
aside note rules like this (that can match nothing) might lead to weird
stuff.

Cheers,

Ric
-- 
-----+++++*****************************************************+++++++++-------
    ---- Ric Klaren ----- j.klaren at utwente.nl ----- +31 53 4893722  ----
-----+++++*****************************************************+++++++++-------
     Innovation makes enemies of all those who prospered under the old
   regime, and only lukewarm support is forthcoming from those who would
               prosper under the new. --- Niccolò Machiavelli



 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
     http://groups.yahoo.com/group/antlr-interest/

<*> To unsubscribe from this group, send an email to:
     antlr-interest-unsubscribe at yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
     http://docs.yahoo.com/info/terms/
 



More information about the antlr-interest mailing list