Lines 17-26
Link Here
|
17 |
<td ALIGN=RIGHT VALIGN=TOP WIDTH="2%"><img SRC="http://dev.eclipse.org/images/Adarrow.gif" NOSAVE BORDER=0 height=16 width=16></td> |
17 |
<td ALIGN=RIGHT VALIGN=TOP WIDTH="2%"><img SRC="http://dev.eclipse.org/images/Adarrow.gif" NOSAVE BORDER=0 height=16 width=16></td> |
18 |
<td WIDTH="98%"><b>Where to get the parser generator</b><br> |
18 |
<td WIDTH="98%"><b>Where to get the parser generator</b><br> |
19 |
<blockquote>The parser files and resources are automatically generated using the LPG parser generator. This tools has |
19 |
<blockquote>The parser files and resources are automatically generated using the LPG parser generator. This tools has |
20 |
been renamed Jikes Parser generator. You can find more information and latest releases at this <A HREF="http://www-124.ibm.com/developerworks/projects/jikes/">link</A>. |
20 |
been renamed Jikes Parser generator. You can find more information and latest releases at this <A HREF="http://sourceforge.net/project/showfiles.php?group_id=128803&package_id=144579">link</A>. |
21 |
The latest tool is provided in source format. We don't provide any help for compiling these |
21 |
The latest tool is provided in source format. We don't provide any help for compiling these |
22 |
source files. Refer to the link above if you have trouble to get binaries. |
22 |
source files. Refer to the link above if you have trouble to get binaries. |
23 |
<br>Our grammar is generated using the version 2.30 of LPG. If newer versions fail to generate resources from our |
23 |
<br>Our grammar is generated using the version 1.3 of LPG. If newer versions fail to generate resources from our |
24 |
grammar, please send request to the Jikes Parser Generator team. |
24 |
grammar, please send request to the Jikes Parser Generator team. |
25 |
</blockquote> |
25 |
</blockquote> |
26 |
</p> |
26 |
</p> |
Lines 150-160
Link Here
|
150 |
</tr> |
150 |
</tr> |
151 |
<tr> |
151 |
<tr> |
152 |
<th VALIGN=top align=left>javasym.java</th> |
152 |
<th VALIGN=top align=left>javasym.java</th> |
153 |
<td>This is the contents of the class org.eclipse.jdt.core.compiler.TerminalTokens. You need to replace:<br> |
153 |
<td>This is the contents of the class org.eclipse.jdt.core.compiler.TerminalTokens.</td> |
154 |
<ul> |
|
|
155 |
<li>TokenName$eof with TokenNameEOF</li> |
156 |
<li>TokenName$error with TokenNameERROR</li> |
157 |
</ul></td> |
158 |
</tr> |
154 |
</tr> |
159 |
<tr> |
155 |
<tr> |
160 |
<th VALIGN=top align=left>javadef.java</th> |
156 |
<th VALIGN=top align=left>javadef.java</th> |
Lines 173-184
Link Here
|
173 |
</li> |
169 |
</li> |
174 |
<li>The class <font color="#3366FF">org.eclipse.jdt.internal.compiler.parser.ParserBasicInformation</font> needs to be updated with the content of the file <font color="#3366FF">javadef.java</font>. Don't copy the |
170 |
<li>The class <font color="#3366FF">org.eclipse.jdt.internal.compiler.parser.ParserBasicInformation</font> needs to be updated with the content of the file <font color="#3366FF">javadef.java</font>. Don't copy the |
175 |
interface name. Simply copy the field declarations. The actual source of this class will guide you.</li> |
171 |
interface name. Simply copy the field declarations. The actual source of this class will guide you.</li> |
176 |
<li>This is the contents of the class org.eclipse.jdt.internal.compiler.parser.TerminalTokens. You need to replace:<br> |
|
|
177 |
<ul> |
178 |
<li><font color="#3366FF">TokenName$eof</font> with <font color="#3366FF">TokenNameEOF</font></li> |
179 |
<li><font color="#3366FF">TokenName$error</font> with <font color="#3366FF">TokenNameERROR</font></li> |
180 |
</ul> |
181 |
</li> |
182 |
<li>The last step is to update the resource files:<br> |
172 |
<li>The last step is to update the resource files:<br> |
183 |
Copy the jdtcore.jar file in d:\temp. Compile this <A HREF="UpdateParserFiles.java">source</A> inside d:\temp. You will have a file UpdateParserFiles.class. |
173 |
Copy the jdtcore.jar file in d:\temp. Compile this <A HREF="UpdateParserFiles.java">source</A> inside d:\temp. You will have a file UpdateParserFiles.class. |
184 |
Then run the following command-line: |
174 |
Then run the following command-line: |