|reference whitespace issue [message #1310499]
||Wed, 23 April 2014 04:15
| Grzegorz Daniec
Registered: April 2014
I am working on grammar for test language and need some advice with one of the instructions.
In my language it is possible to define constants in the following way:
define <name> <INT or define name reference with $ sign at the beginning>
Lets look at the example:
define first 3
define second $first
The problem is connected with '$' sign.
I defined grammar rule this way:
'define' name=ID (INT | '$' value=[Define])
But it allows me to insert white spaces between '$' and name. How can I eliminate this possibility?
Thanks in advance for your help and great work you put in Xtext plugin,
Powered by FUDForum
. Page generated in 0.01594 seconds