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

Bug 335692

Summary: use of terminal fragment in data rule not flagged as error
Product: [Modeling] TMF Reporter: Henrik Lindberg <henrik.lindberg>
Component: XtextAssignee: Project Inbox <tmf.xtext-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: sebastian.zarnekow
Version: 2.0.0Flags: sebastian.zarnekow: indigo+
Target Milestone: M5   
Hardware: All   
OS: All   
Whiteboard:

Description Henrik Lindberg CLA 2011-01-28 10:14:23 EST
Errors are flagged when a terminal fragment rule is used in a parser rule, but not when used in a data rule.

FOO : value = ID TRAIL ; // error on TRAIL
BAR : TRAIL ; // no error
terminal fragment TRAIL : ';' ;
Comment 1 Sebastian Zarnekow CLA 2011-01-30 09:15:05 EST
Pushed fix + test to master
Comment 2 Karsten Thoms CLA 2017-09-19 17:21:40 EDT
Closing all bugs that were set to RESOLVED before Neon.0
Comment 3 Karsten Thoms CLA 2017-09-19 17:33:03 EDT
Closing all bugs that were set to RESOLVED before Neon.0