Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 346840 - [Serializer] Error in handling unassigned RuleCalls especially STRING
Summary: [Serializer] Error in handling unassigned RuleCalls especially STRING
Status: CLOSED FIXED
Alias: None
Product: TMF
Classification: Modeling
Component: Xtext (show other bugs)
Version: 2.0.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: RC5   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-23 05:37 EDT by Holger Schill CLA
Modified: 2017-09-19 17:40 EDT (History)
1 user (show)

See Also:
moritz.eysholdt: indigo+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Holger Schill CLA 2011-05-23 05:37:45 EDT
By using the new SerializerFragment the following grammar causes an compilationerror in the generated AbstractSyntacticSequencer.

grammar org.xtext.example.mydsl.MyDsl with org.eclipse.xtext.common.Terminals

generate myDsl "http://www.xtext.org/example/mydsl/MyDsl"

Model:
	greetings+=Greeting*;
	
Greeting:
	{Greeting} STRING 'Hello' name=ID '!';


Faulty line in the generated AbstractSyntacticSequencer:

protected String getSTRINGToken(RuleCall ruleCall, INode node) {
	return """";
}
Comment 1 Moritz Eysholdt CLA 2011-07-11 04:35:55 EDT
this has already been fixed.
Comment 2 Karsten Thoms CLA 2017-09-19 17:29:32 EDT
Closing all bugs that were set to RESOLVED before Neon.0
Comment 3 Karsten Thoms CLA 2017-09-19 17:40:57 EDT
Closing all bugs that were set to RESOLVED before Neon.0