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

Bug 362799

Summary: [documentation] Wrong assignment Operator in Xtext 2.1 Tutorial
Product: [Modeling] TMF Reporter: Wolfgang Wölfel <woelfel.itemis>
Component: XtextAssignee: Project Inbox <tmf.xtext-inbox>
Status: CLOSED FIXED QA Contact:
Severity: trivial    
Priority: P3 CC: sebastian.zarnekow
Version: unspecifiedFlags: sebastian.zarnekow: juno+
Target Milestone: M4   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Wolfgang Wölfel CLA 2011-11-03 10:36:53 EDT
Build Identifier: M20110909-1335

xText 2.1 Tuturial (http://www.eclipse.org/Xtext/documentation/2_1_0/020-domainmodel-step-by-step.php)

Chapter "Write Your Own Grammar"  3.:
"The rule DataType starts with a keyword 'datatype', followed by an identifier which is parsed by a rule called ID. The rule ID is predefined in the super grammar org.eclipse.xtext.common.Terminals and parses a single word, a.k.a identifier. You can navigate to it by using F3 on the rule call. The value returned by the call to ID is assigned (*) to the feature name. "

The last parentheses should contain a (=) instead of the used (*).

Reproducible: Always
Comment 1 Sebastian Zarnekow CLA 2011-11-10 15:58:42 EST
Fixed.
Comment 2 Karsten Thoms CLA 2017-09-19 17:14:32 EDT
Closing all bugs that were set to RESOLVED before Neon.0
Comment 3 Karsten Thoms CLA 2017-09-19 17:26:07 EDT
Closing all bugs that were set to RESOLVED before Neon.0