[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

3.beta3.altgen20040327: NullPointerException in Grammar.CLOSURE



Hello!

I'm new to parsing, therefore I might sound weird sometimes...
My task is 'translating' the ANSI C++ grammar to a format sableCC understands. 
I found some info on the web indicating this would be a difficult task.
Nevertheless I started and my little grammar now reads some expressions (only 
those! no declarations or classes or whatever else) and I already encountered 
many problems with ambiguity.

But now I get a NullPointerException when running sableCC over my grammar with 
a certain alternative.
Forgive me once again, but since I don't have Internet where I am working on 
the grammar, I for now cannot present the grammar...

All I want to know for now is: Is this OK? Shouldn't problems like this be 
handled somehow?
Of course I can also have a look at the code...

Georg Köster