Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Using \uXXXX in terminals?
Using \uXXXX in terminals? [message #641666] Fri, 26 November 2010 15:30 Go to next message
Henrik Lindberg is currently offline Henrik LindbergFriend
Messages: 2509
Registered: July 2009
Senior Member
Hi,
I get syntax errors in a grammar when trying to use '\uXXXX' - is this
not supported? How can I specify explicit character codes ?

- henrik
Re: Using \uXXXX in terminals? [message #641668 is a reply to message #641666] Fri, 26 November 2010 15:51 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14665
Registered: July 2009
Senior Member
Hello Hendrik,

there are Bugs on this topic filed:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=305329
https://bugs.eclipse.org/bugs/show_bug.cgi?id=280659

~Christian


Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: Using \uXXXX in terminals? [message #641678 is a reply to message #641668] Fri, 26 November 2010 16:34 Go to previous messageGo to next message
Henrik Lindberg is currently offline Henrik LindbergFriend
Messages: 2509
Registered: July 2009
Senior Member
Thanks, I commented on the bug.

I had hoped this was fixed - the latest documentation does not mention
that \u is not supported - an older version of the documentation stated
that it wasn't. OTOH, the new version of the doc does not state that it
is possible either...

Regards
- henrik
On 11/26/10 4:51 PM, Christian Dietrich wrote:
> Hello Hendrik,
>
> there are Bugs on this topic filed:
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=305329
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=280659
>
> ~Christian
Re: Using \uXXXX in terminals? [message #641682 is a reply to message #641678] Fri, 26 November 2010 16:55 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14665
Registered: July 2009
Senior Member
Hi,

i can find this in the current 1.0.1 docs:
Quote:

The following standard Java notations for special characters are allowed: \n, \r, \t, \b, and \f. We currently don't support quoted unicode character notation, as \u123.



~Christian


Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: Using \uXXXX in terminals? [message #641683 is a reply to message #641682] Fri, 26 November 2010 17:25 Go to previous message
Henrik Lindberg is currently offline Henrik LindbergFriend
Messages: 2509
Registered: July 2009
Senior Member
I was looking at the PDF for Xtext User Guide 1.0
Sorry for the noise.

On 11/26/10 5:55 PM, Christian Dietrich wrote:
> Hi,
>
> i can find this in the current 1.0.1 docs:
> Quote:
>> The following standard Java notations for special characters are
>> allowed: \n, \r, \t, \b, and \f. We currently don't support quoted
>> unicode character notation, as \u123.
>
>
> ~Christian
>
Previous Topic:Re: Reading multiple XML models of different XSD's
Next Topic:Recipe for using XText providers elsewhere
Goto Forum:
  


Current Time: Thu Apr 25 11:52:03 GMT 2024

Powered by FUDForum. Page generated in 0.03055 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top