Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 369189 - the Terminals ID does not seem to be working
Summary: the Terminals ID does not seem to be working
Status: CLOSED INVALID
Alias: None
Product: TMF
Classification: Modeling
Component: Xtext (show other bugs)
Version: 2.2.1   Edit
Hardware: PC Windows XP
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-20 04:21 EST by rahul kumar CLA
Modified: 2012-01-20 05:21 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description rahul kumar CLA 2012-01-20 04:21:20 EST
Build Identifier: M20110909-1335

Earlier I was using xtext 1.2 and the below problem was not there.

I downloaded my version directly from the itemis-xtext site:
  http://xtext.itemis.com/xtext/language=en/36553/downloads
  eclipse-SDK-3.7.1-Xtext-2.2.1-win32.zip

I am facing a very weird problem. The Terminals ID does not seem to be working. I created new XText project and did not change the grammar(mydsl). i.e. my grammar is:

Model:
      greetings+=Greeting*;
      
Greeting:
      'Hello' name=ID '!';


Then I executed MWE2 workflow and generated the codes Then I ran a new eclipse application with including all the plugins. Then in the 1.mydsl editor I can have
                
Hello Name !
Hello Name !
Hello Name !


It does not show any error, even  if same ID is used at more than one places. This was not happening earlier and IDs were having unique values.


Reproducible: Always