[antlr-interest] ANTLR

Yassin.Chkouri at imag.fr Yassin.Chkouri at imag.fr
Mon Apr 3 01:32:51 PDT 2006



Hello,
I wrote a code in antlr in a file (g), I have create another file and I wrote a
small program.  and when I execute my program by using the class Main.java, the
console posts these error message (lower part ), but I am sure that there are no
errors neither in the program nor in the code written in antlr. I said can be I
have a problem in the instalation of antlr.
Can you could help me in this point???

here the mmessage of error posted in the console:

parser exception: line 2:10: expecting ':', found ' '
 line 2:10: expecting ':', found ' '
         at BipLexer.nextToken(BipLexer.java:286)
         at antlr.TokenBuffer.fill(TokenBuffer.java:69)
         at antlr.TokenBuffer.LA(TokenBuffer.java:80)
         at antlr.LLkParser.LA(LLkParser.java:52)
         at BipParser.top(BipParser.java:51)
         at Main.parseFile(Main.java:68)
         at Main.doFile(Main.java:53)
         at Main.main(Main.java:20)


Cordially
M.Y.CHKOURI

-------------------------------------------------
envoyé via Webmail/IMAG !



More information about the antlr-interest mailing list