Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 346840

Summary: [Serializer] Error in handling unassigned RuleCalls especially STRING
Product: [Modeling] TMF Reporter: Holger Schill <Holger.Schill>
Component: XtextAssignee: Project Inbox <tmf.xtext-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: moritz.eysholdt
Version: 2.0.0Flags: moritz.eysholdt: indigo+
Target Milestone: RC5   
Hardware: All   
OS: All   
Whiteboard:

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