Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 323657 - [Grammar] A data type rule that overrides a terminal rule should be flagged with error
Summary: [Grammar] A data type rule that overrides a terminal rule should be flagged w...
Status: CLOSED FIXED
Alias: None
Product: TMF
Classification: Modeling
Component: Xtext (show other bugs)
Version: 1.0.0   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 enhancement (vote)
Target Milestone: M4   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-25 17:08 EDT by Sebastian Zarnekow CLA
Modified: 2017-09-19 17:13 EDT (History)
0 users

See Also:
sebastian.zarnekow: indigo+


Attachments

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