Community
Participate
Working Groups
Build Identifier: Xtext Documentation 2.0.1.v201108020636 The Syntactic Predicate section of the XText documentation includes an example of an ambiguous if-else construct. The documentation then describes a grammar to deal with the ambiguity. However, the grammar doesn't match the example. The example shows: if (conditon) if (condition) expression else expression. The grammar defines: 'if' expression 'then' expression (=>'else' expression)? syntax. Either the example should be changes to include the then keyword of it should be removed from the grammar. The condition in the example also is surrounded by (). However, the grammar doesn't define that () are used to denote conditions. Reproducible: Always Steps to Reproduce: Problem is in the documentation.
Fixed in HEAD
Closing all bugs that were set to RESOLVED before Neon.0