Community
Participate
Working Groups
Build Identifier: The following grammar produces a parser that is not able to resolve references to objects of C A: (a+=B)+ "cr" c=[C]; B: "b" name=ID "(" (b+=C)* ")"; C: name=ID; Reproducible: Always Steps to Reproduce: 1. Create an Xtext project. 2. Enter the above grammar 3. Generate the model and the editor 4. Open the editor and enter some objects "b b1 (c1 c2 c3) b b2 (c4 c5) cr " 5. Try to enter a reference to C
the following should do the 'trick' (from http://www.eclipse.org/Xtext/documentation/1_0_1/xtext.html 'Adding a Namespace Concept') pls. reopen if i have missed the point. A: (a+=B)+ "cr" c=[C|QualifiedName]; B: "b" name=ID "(" (b+=C)* ")"; C: name=ID; QualifiedName: ID ('.' ID)*;