Reference error in EMF with a list of references [message #1041616] |
Mon, 15 April 2013 10:21 |
|
Hi
I hope this is in the right part of the forum, its related both to XText and EMF and I am using Eugenia so I took a guess
I have the problem with that I get the error
"All references are unique in EMF due to the current code generation"
I have a simple Xtext grammar[1] (I am tryint to extend the default therefore I still use "Greeting" ) that I am trying to use. The issue seems to be that I try to have a "list" of links to AttributeDefinition.
When I have
('ref' attribute=[AttributeDefinition])?
it works but since I want to be able to have more then one attribute related to more then one Greeting I tried to change to
('ref' attributes+=[AttributeDefinition])*
but then I get the error.
Is there something I am missing when I try to make a list of references to an attribute? I tried to make links separated from everything else (as can be see in my commented code) but I would like to "insert" them into the Greeting part.
I don't know if it is relevant but better with to much then to little
Anyway, I wrote in the beginning that I use Eugenia and I get the error when I am doing this process and when I am at step nr 6.
Thanks for any help
Write you later / Mårten
-
Attachment: MyDsl.txt
(Size: 0.56KB, Downloaded 143 times)
|
|
|
|
Powered by
FUDForum. Page generated in 0.02050 seconds