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

Bug 323657

Summary: [Grammar] A data type rule that overrides a terminal rule should be flagged with error
Product: [Modeling] TMF Reporter: Sebastian Zarnekow <sebastian.zarnekow>
Component: XtextAssignee: Project Inbox <tmf.xtext-inbox>
Status: CLOSED FIXED QA Contact:
Severity: enhancement    
Priority: P3 Flags: sebastian.zarnekow: indigo+
Version: 1.0.0   
Target Milestone: M4   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

Description Sebastian Zarnekow CLA 2010-08-25 17:08:15 EDT
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:
	'Hello' name=ID '!';

ID: 'foo'; // <- expected error marker
Comment 1 Sebastian Zarnekow CLA 2010-12-13 17:18:10 EST
Various validation rules have been added when terminal fragments were introduced.
Comment 2 Karsten Thoms CLA 2017-09-19 17:02:00 EDT
Closing all bugs that were set to RESOLVED before Neon.0
Comment 3 Karsten Thoms CLA 2017-09-19 17:13:20 EDT
Closing all bugs that were set to RESOLVED before Neon.0