Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 362799 - [documentation] Wrong assignment Operator in Xtext 2.1 Tutorial
Summary: [documentation] Wrong assignment Operator in Xtext 2.1 Tutorial
Status: CLOSED FIXED
Alias: None
Product: TMF
Classification: Modeling
Component: Xtext (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 trivial (vote)
Target Milestone: M4   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-03 10:36 EDT by Wolfgang Wölfel CLA
Modified: 2017-09-19 17:26 EDT (History)
1 user (show)

See Also:
sebastian.zarnekow: juno+


Attachments

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