Possible Unicode Bug - Greek Polytonic [message #894157] |
Sat, 07 July 2012 01:55 |
Kokongi Nei Messages: 5 Registered: July 2012 |
Junior Member |
|
|
The body below contains UTF8 Polytonic Greek.
In order to allow for IDs using polytonic Greek, have defined the following rule in my grammar:
terminal ID: '^'?('a'..'z'|'A'..'Z'|'α'..'ω'|'Α'..'Ω'|'ύ'|'\u1F00'..'\u1FFF')('a'..'z'|'A'..'Z'|'α'..'ω'|'Α'..'Ω'|'\u1F00'..'\u1FFF'|'0'..'9')*
;
The generated grammar correctly handles accented Greek characters in the range of 1F00 to 1FFF except for certain letters with an acute accent mark. Examples include 1F71 ά and 1F7B ύ both of which are within the specified range.
When using an XText editor with the generated grammar, these characters with acute accent marks are marked as an error, and the error message states "extraneous input expecting RULE_STRING"
I have also tried explicitly declaring ύ in the terminal ID rule, but I get the same error.
Is this a bug?
[Updated on: Sat, 07 July 2012 18:33] Report message to a moderator
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02923 seconds