Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsNMToken Terminal
https://www.eclipse.org/forums/index.php/mv/msg/400869/942245/#msg_942245
I'm trying to define an NMToken Terminal for an Xtext 2.3 DSL.
I guess the correct definition is something like this:
However that rule has a problem when generating Xtext artifacts:
"The following token definitions can never be matched because prior tokens match the same input: RULE_INT"
And i guess it's true as an NMTOKEN may be an INT as well.
Is there a way to properly define an NMTOKEN terminal or any other way i can incorporate it into my DSL?
Thank you.]]>Evangelos Haleplidis2012-10-13T09:53:24-00:00Re: NMToken Terminal
https://www.eclipse.org/forums/index.php/mv/msg/400869/942255/#msg_942255
--
Need training, onsite consulting or any other kind of help for Xtext?
Go visit http://xtext.itemis.com or send a mail to xtext at itemis dot de]]>Christian Dietrich2012-10-13T10:03:39-00:00Re: NMToken Terminal
https://www.eclipse.org/forums/index.php/mv/msg/400869/942562/#msg_942562
I guess you mean i write something like this: