Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jdt-core-dev] JikesPG problems

Hi again,

I tried it with some older grammars. The newest version of java_1_4.g
that works with JikesPG1.3 is 1.11. 1.12 and above does not work.
However, the only change in 1.12 was that some lines from 1.11 were
deleted - "Remove useless rule in error recovery." as said by the log
message.
I copied these lines from 1.11 into version 1.15 and tried it again. No
horribly high START_STATE in javadef.java, all resource files were
generated without any error. 

After I followed the instructions in the howto-generate-the-parser, the
compiler seems to work. With the java_1_4.g grammar versions higher than
1.11 an ArrayIndexOutOfBounds: n exception in the generated compiler is
thrown, where n is the START_STATE in the generated javadef.java.

Am I missing something?

Bye,
Ingo




Back to the top