XText 2.9 and single quotes [message #1715533] |
Tue, 24 November 2015 09:50 |
David Baum Messages: 20 Registered: August 2014 |
Junior Member |
|
|
Hello everyone,
I'm having a small problem with xtext 2.9 and single quotes. The file I want to describe looks like this:
(MyElement
(name 'foobar'))
My Xtext grammar:
MYElement:
'(MyElement'
'(' 'name' value=MYSTRING ')'
')';
terminal MYSTRING:
("'"->"'")*;
This was working as expected until Xtext 2.8.4 and name had the value foobar. However when updating to xtext 2.9 name now has the value 'foobar' (with the single quotes). Which changes in xtext causes this new behaviour? Is this a bug or do I have to adopt my grammar?
Thanks in advance.
[Updated on: Tue, 24 November 2015 09:56] Report message to a moderator
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04846 seconds