|Re: Regex and Xtext [message #704840 is a reply to message #704827]
||Fri, 29 July 2011 06:05
| Alexander Nittka
Registered: July 2009
You try to reference user etc via an ID ([USER] is short for [USER|ID]). You need to reference them via URN, ie. use [USER|URN] or write a custom scope provider, that makes them visible via a simple ID-name.
You should stick to naming conventions to make the grammar more readable. Terminal rules all uppercase, Parser rules first letter upper case (Group instead of GROUP).
Need training, onsite consulting or any other kind of help for Xtext?
Go visit http://xtext.itemis.com or send a mail to firstname.lastname@example.org
Powered by FUDForum
. Page generated in 0.01676 seconds