Bug 52840

Summary: Howto generate the parser: LPG 2.30 is which version of JikesPG?
Product: [Eclipse Project] JDT Reporter: Ingo Maier <i.maier>
Component: CoreAssignee: Olivier Thomann <Olivier_Thomann>
Status: VERIFIED FIXED QA Contact:
Severity: minor    
Priority: P3    
Version: 3.0   
Target Milestone: 3.2 M3   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
Patch against the compiler howto and the two JikesPG grammars none

Description Ingo Maier CLA 2004-02-23 12:06:38 EST
On the Howto "generate the parser" page, it is stated that LPG 2.30 is used for
the parser generation, but LPG is now called JikesPG and most current version is
1.3. With 1.3 generation does not work. I also posted a bug report to the jikes
project (Bug #3873) and a workaround is provided there.
Comment 1 Ingo Maier CLA 2004-02-24 04:12:20 EST
No LPG/JikesPG 2.30 is found on the referred website of the howto.
Comment 2 Matthew L Daniel CLA 2005-10-12 11:53:48 EDT
The attached patch resolves two problems with the HOWTO: that the link is
completely 404 and that one does not have to edit the file to replace
TokenName$eof and TokenName$error.
Comment 3 Matthew L Daniel CLA 2005-10-12 11:54:39 EDT
Created attachment 28192 [details]
Patch against the compiler howto and the two JikesPG grammars
Comment 4 Dirk Baeumer CLA 2005-10-12 13:51:26 EDT
Moving to JDT/Core.
Comment 5 Philipe Mulet CLA 2005-10-13 04:00:29 EDT
The page was revised recently with official link to JikesPG. A recent version of
it has the fixes which allow to process our grammar files.

Olivier - pls look at the patch (is it still necessary?)
Comment 6 Olivier Thomann CLA 2005-10-13 16:58:54 EDT
I'll get the changes in the howto, but I won't release the ones made in the
grammar files. With these changes, the TokenName$eof and TokenName$error end up
not getting the right value.
Comment 7 Olivier Thomann CLA 2005-10-20 09:10:00 EDT
Closing as FIXED.
Changes have been integrated in the last doc.
Comment 8 David Audel CLA 2005-10-31 05:38:20 EST
Verified for 3.2 M3 using build I20051031-0010