Bug 52840 - Howto generate the parser: LPG 2.30 is which version of JikesPG?
Summary: Howto generate the parser: LPG 2.30 is which version of JikesPG?
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0   Edit
Hardware: PC Linux
: P3 minor (vote)
Target Milestone: 3.2 M3   Edit
Assignee: Olivier Thomann CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-23 12:06 EST by Ingo Maier CLA
Modified: 2005-10-31 05:38 EST (History)
0 users

See Also:


Attachments
Patch against the compiler howto and the two JikesPG grammars (4.01 KB, patch)
2005-10-12 11:54 EDT, Matthew L Daniel CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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