|how to specify to use a name between single quotes in xtext [message #1049434]
||Thu, 25 April 2013 17:28
| Herbert Quartel
Registered: April 2013
I am working on specifying a DSL using XTEXT.|
Part of the syntax is that a number of names are between single quotes or double quotes.
Until now I am unsuccessful in achieving this.
What will be the rule in XTEXT for : Process 'my process'
"This is my definition" =
What I have tried for the single quote example is:
'Process' '\'' name=ID '\'' ;
but this will give the following error when I compile the .mwe2 file and run as Eclipseapplication: mismatched input ''hello'' expecting '''
Please point me to the right direction to solve this. It must be something trivial, but I cannot seem to solve this...
Powered by FUDForum
. Page generated in 0.07694 seconds