[antlr-interest] Strange problem with AntlrWorks. A bug?¿
Joan Pujol
joanpujol at gmail.com
Sat Mar 17 10:49:03 PDT 2007
Hello,
I've been a lot of time out and the new version and AntlrWorks IDE is
amazing. Congratulations for yours job Jean and Terence.
But I've a little problem
I have a grammar:
grammar jmattergrammar;
options {
output=AST;
ASTLabelType=CommonTree;
}
...
And a tree parser:
tree grammar jmattertreeparser;
options {
tokenVocab=jmattergrammar;
ASTLabelType=CommonTree;
output=template;
}
...
I can generate the first one well. But when I try to do the second I gent
this error: cannot find tokens file d:\xxx\xxxxx.tokens. And I'm sure (I
checked a lot of times) that the file is in his place and that it looks good
if you open it. But I always get the error.
And after the error if I go to the other window (the window of the first
grammar) and I try to generate the code I get the same error (An error that
the first time I doens't have.
And if I generate the code with ANTLR command line tool I have no problems.
A lot of thanks in advance,
--
Joan Jesús Pujol Espinar
http://www.joanpujol.cat
http://lujop.deviantart.com
--
Joan Jesús Pujol Espinar
http://www.joanpujol.cat
http://lujop.deviantart.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20070317/41444caa/attachment.html
More information about the antlr-interest
mailing list