Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 335692 - use of terminal fragment in data rule not flagged as error
Summary: use of terminal fragment in data rule not flagged as error
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: M5   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-28 10:14 EST by Henrik Lindberg CLA
Modified: 2017-09-19 17:33 EDT (History)
1 user (show)

See Also:
sebastian.zarnekow: indigo+


Attachments

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