[antlr-interest] a question
Ross Bencina
rbencina at iprimus.com.au
Thu Jun 10 01:55:03 PDT 2004
> My question is how can I change the rules to force antlr that when it
> found an IDENTIFIER ':',it looks the next token to see if it is '='
> and then,I'm doing and assignment and not a KEYWORD?
Hi Yolanda
I think the easiest thing to do is to make a separate ASSIGN token in the
tokeniser for ":="
Ross.
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