At 16:49 28/11/2008, Volker Stolz wrote:
 >AND   :   'AND' | '&&' | '\u00c3' '\u00b5'
 >
 >Note that I'm only using 'õ' as an arbitrary test character.
 >Eventually we'd like to be able to parse a whole range of
 >mostly mathematical characters.
[...]
 >it's UTF-8 in the form of 7-bit characters everywhere else
 >except for the byte sequence ... c3 b5 ... for 
the new character.
[...]
 >Any hints on how to get ANTLR to accept this? 
'\uc3b5' also doesn't
 >work.

C3 B5 is the two-byte UTF-8 encoding for that 
character -- it's not the character 
itself.  (Maybe you should look up how UTF-8 
works, eg. on Wikipedia.)

Lowercase Latin o with tilde (õ) is Unicode 
character U+00F5, ie. '\u00F5'.


List: http://www.antlr.org:8080/mailman/listinfo/antlr-interest
Unsubscribe: 
http://www.antlr.org:8080/mailman/options/antlr-interest/your-email-address


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"il-antlr-interest" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/il-antlr-interest?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to