[antlr-interest] Error reading importVocab file

Antón García, Carolina canton at indra.es
Tue Jun 28 03:34:49 PDT 2005


    Hi all, 
 
    I have a problem importing a vocabulary file in a TreeParser definition. I have two files: one with the Lexer and Parser definition and another one with the TreeParser definition. In the Parser and Lexer I have this option setted:
 
    exportVocab=Reglas;
 
which creates ReglasTokenTypes.txt and ReglasTokenTypes.java. 
 
When I try to export this in the TreeParser (with the option "importVocab=Reglas") and try to generate the classes, I obtain the following error:
 
    [antlr] ANTLR Parser Generator Version 2.7.5 (20050128) 1989-2005 jGuru.com 

    [antlr] panic: Error reading importVocab file 'ReglasTokenTypes.txt'

    BUILD FAILED: build.xml:79: ANTLR returned: 1

Any idea? I havent found info about this problem before.... I use antlr-2.7.5, Eclipse 3.0.1,  and Windows2k.
 
Thanks in advance.
 
Carolina Anton
canton at indra.es
    
 
 "Knowledge is of two kinds. We know a subject ourselves, or we know where we can find information on it."
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20050628/d6da851b/attachment.html


More information about the antlr-interest mailing list