[antlr-interest] Unable to run Xref tool with antlr2.7.2

salgavkar salgavkar at yahoo.com
Mon Mar 1 15:52:09 PST 2004


Hi,
i tried to run java cross reference tool (Xref) with antlr2.7.2 and 
got the following error message.

Z:\compbkup\discbackup\bbk\project\buildspec\download\xref-
source\source\recogni
zer>java antlr.Tool javar.g
ANTLR Parser Generator   Version 2.7.2   1989-2003 jGuru.com
javar.g:36:0: tokdef/tokenVocabulary options are invalid >= ANTLR 
2.6.0.
  Use importVocab/exportVocab instead.  Please see the documentation.
  The previous options were so heinous that Terence changed the whole
  vocabulary mechanism; it was better to change the names rather than
  subtly change the functionality of the known options.  Sorry!
javar.g:757:0: tokdef/tokenVocabulary options are invalid >= ANTLR 
2.6.0.
  Use importVocab/exportVocab instead.  Please see the documentation.
  The previous options were so heinous that Terence changed the whole
  vocabulary mechanism; it was better to change the names rather than
  subtly change the functionality of the known options.  Sorry!
javar.g:758:0: warning:longestPossible option has been deprecated; 
ignoring it..
.
Exiting due to errors.

I did see that doc on 
http://java.sun.com/developer/technicalArticles/Parser/SeriesPt4/#ANT
LR2.00
specifies that antlr 2.0.0 must be used but i couldnt find it 
anywhere. I also tried running 2.5.0 and 2.4.0 with no joy.

How do i make it work with antlr2.7.2?

Salgavkar




 
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