? jikespg.diff Index: howto/generate parser/generateParser.html =================================================================== RCS file: /cvsroot/eclipse/jdt-core-home/howto/generate parser/generateParser.html,v retrieving revision 1.4 diff -u -r1.4 generateParser.html --- howto/generate parser/generateParser.html 14 Oct 2003 16:49:23 -0000 1.4 +++ howto/generate parser/generateParser.html 12 Oct 2005 15:48:17 -0000 @@ -17,10 +17,10 @@ Where to get the parser generator
The parser files and resources are automatically generated using the LPG parser generator. This tools has - been renamed Jikes Parser generator. You can find more information and latest releases at this link. + been renamed Jikes Parser generator. You can find more information and latest releases at this link. The latest tool is provided in source format. We don't provide any help for compiling these source files. Refer to the link above if you have trouble to get binaries. -
Our grammar is generated using the version 2.30 of LPG. If newer versions fail to generate resources from our +
Our grammar is generated using the version 1.3 of LPG. If newer versions fail to generate resources from our grammar, please send request to the Jikes Parser Generator team.

@@ -150,11 +150,7 @@ javasym.java - This is the contents of the class org.eclipse.jdt.core.compiler.TerminalTokens. You need to replace:
- + This is the contents of the class org.eclipse.jdt.core.compiler.TerminalTokens. javadef.java @@ -173,12 +169,6 @@
  • The class org.eclipse.jdt.internal.compiler.parser.ParserBasicInformation needs to be updated with the content of the file javadef.java. Don't copy the interface name. Simply copy the field declarations. The actual source of this class will guide you.
  • -
  • This is the contents of the class org.eclipse.jdt.internal.compiler.parser.TerminalTokens. You need to replace:
    - -
  • The last step is to update the resource files:
    Copy the jdtcore.jar file in d:\temp. Compile this source inside d:\temp. You will have a file UpdateParserFiles.class. Then run the following command-line: Index: grammar/java_1_4.g =================================================================== RCS file: /cvsroot/eclipse/org.eclipse.jdt.core/grammar/java_1_4.g,v retrieving revision 1.15 diff -u -r1.15 java_1_4.g --- grammar/java_1_4.g 4 Dec 2003 16:12:35 -0000 1.15 +++ grammar/java_1_4.g 12 Oct 2005 15:48:47 -0000 @@ -95,6 +95,7 @@ COMMA DOT EQUAL + EOF ERROR -- BodyMarker @@ -147,6 +148,8 @@ ',' ::= COMMA '.' ::= DOT '=' ::= EQUAL + $EOF ::= EOF + $ERROR ::= ERROR $Start Goal Index: grammar/java_1_5.g =================================================================== RCS file: /cvsroot/eclipse/org.eclipse.jdt.core/grammar/java_1_5.g,v retrieving revision 1.57 diff -u -r1.57 java_1_5.g --- grammar/java_1_5.g 29 Sep 2005 18:17:13 -0000 1.57 +++ grammar/java_1_5.g 12 Oct 2005 15:48:48 -0000 @@ -101,6 +101,7 @@ EQUAL AT ELLIPSIS + EOF ERROR -- BodyMarker @@ -154,6 +155,8 @@ '=' ::= EQUAL '@' ::= AT '...' ::= ELLIPSIS + $EOF ::= EOF + $ERROR ::= ERROR $Start Goal