Matti Niemenmaa <> changed:

           What    |Removed                     |Added
           Keywords|                            |spec
                 CC|                            |matti.niemenmaa+dbugzi...@i
                   |                            |
           Platform|Other                       |All
         OS/Version|Linux                       |All
           Severity|normal                      |enhancement

--- Comment #1 from Matti Niemenmaa <> 
2009-10-30 09:51:09 PDT ---
As very clearly states,
the allowed characters in identifiers are those defined in the C99 standard,
ISO/IEC 9899:1999(E) Annex D. Have a look at it:

9, code point 0xff19, is not in that list. The maximum one is 0xd7a3, in fact. 
This is not a bug, this is an enhancement.

However, rather than an arbitrary and frozen list, I /would/ prefer basing it
simply on Unicode properties, such as Java's choice: identifiers may start with
letters or numeric letters, and may contain, in addition to those, connecting
punctuation, decimal digits, and combining and non-spacing marks. In other

Identifiers may start with code points from the general categories Ll, Lm, Lo,
Lt, Lu, Nl.

Identifiers may contain code points from the general categories Ll, Lm, Lo, Lt,
Lu, Mc, Mn, Nd, Nl, No, Pc.

Java also allows Cc and Cf, of whose usefulness I'm not so convinced. These are
control characters and things like "soft hyphen", which isn't even supposed to
be displayed unless the word line-wraps. Too much potential for confusion IMHO.

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to