Facing problem in cross references [message #1819208] |
Fri, 10 January 2020 00:03  |
Eclipse User |
|
|
|
Hi,
I have one existing model named as mydsl, and i am importing to my grammar like this-
grammar org.xtext.example.mydsl1 with org.eclipse.xtext.common.Terminals
import "http://www.xtext.org/example/mydsl " as mydsl
generate mydsl1 "http://www.xtext.org/example/mydsl1"
I have added referencedResource in mwe2 workflow.
In my grammar i am referring mydsl like -
('Package:' packages+=[mydsl::EPackage|STRING] (packages+=[mydsl::EPackage|STRING])*)?
Here my problem is in Xtext editor if add instances of epackage i am getting error " Couldn't resolve reference to epackage "
So if anyone has any suggestions, what I should check or fix or use, please let me know.
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 1.32866 seconds