[SOLVED] Error: Multiple markers at this line -Duplicate ... [message #1118448] |
Fri, 27 September 2013 12:22 |
Lefteris Skoutaris Messages: 24 Registered: March 2013 |
Junior Member |
|
|
Greetings to all!
I am having a problem when trying to parse a file instance having multiple string instances that are the same. I get the following error:
Multiple markers at this line
-Duplicate Spacecraft_Type 'NamingA'
-Duplicate Spacecraft_Type 'NamingB'
-Duplicate Spacecraft_Type 'NamingC'
The simple grammar I have written is the following:
Active_Spacecraft:
'Active Spacecraft'
(st2+=Spacecraft_Type)+
;
Inactive_Spacecraft:
'Inactive Spacecraft'
(st1+=Spacecraft_Type)+
;
Spacecraft_Type:
('ASc.Active Spacecraft_Type'
(ast=STRING','|ast=STRING)
'end')|('ISc.Active Spacecraft_Type'
(ist=STRING','|ist=STRING)
'end');
That is, each of the nodes Active_Spacecraft and Inactive_Spacecraft shall contain a set of nodes each called Spacecraft_Type and containing a list of string type values. I must note that in the file instance I am parsing there exist string values that are identical.
I have changed the feature name for each rule but with no success. Is this problem related to "unique name" value checking from xtext? If yes how can I disable this property?
Will be waiting for your kind reply!
[Updated on: Fri, 27 September 2013 14:27] Report message to a moderator
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02662 seconds