Bug 233803 - Issue with the Gymnast generated Javacc file
Summary: Issue with the Gymnast generated Javacc file
Status: NEW
Alias: None
Product: EMFT
Classification: Modeling
Component: Emfatic (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Miguel Garcia CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-24 08:06 EDT by Rakesh CLA
Modified: 2008-05-24 08:06 EDT (History)
0 users

See Also:


Attachments
parserErrorPublic.JPG (138.39 KB, image/jpeg)
2008-05-24 08:06 EDT, Rakesh CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rakesh CLA 2008-05-24 08:06:19 EDT
Created attachment 101852 [details]
parserErrorPublic.JPG

Please note that, for the following description grammar file refers to SVG5.ast

1. Use Gymnast to generate AST for a grammar file with the option parserGenerator="javacc" 
2. Gymnast produces AST and Parser packages. Open the Javacc file in the parser package (in this case svg.jj)
3. The Outline view in eclipse shows parser error. Please see the attached screenshot (parserErrorPublic.JPG). 
 This is because of the word "public" being added by Gymnast in the generated JavaCC file. Manually removing this word  "public" solves the issue. Please change the Gymnast so that the generated JavaCC file doesn't show parser error.