[antlr-interest] ANTLR 2.7.2 Java grammar problem.

tdknghi <nk.truong at student.qut.edu.au> nk.truong at student.qut.edu.au
Wed Jan 22 17:50:09 PST 2003


  Hi all,

Have any of you try to run the java example in examples\java\java?

I have the following error message when attemp to run
   java Main -showtree myjava.java

parser exception: java.lang.NullPointerException
java.lang.NullPointerException
        at JavaRecognizer.importDefinition(JavaRecognizer.java:246)
        at JavaRecognizer.compilationUnit(JavaRecognizer.java:161)
        at Main.parseFile(Main.java:92)
        at Main.doFile(Main.java:64)
        at Main.main(Main.java:35)

Do you have any idea what goes wrong?

Many thanks for your help.

Cheers
MM



 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



More information about the antlr-interest mailing list