This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: cpplib: Preliminary implementation of UCNs
- From: martin at v dot loewis dot de (Martin v. Löwis)
- To: gcc-patches at gcc dot gnu dot org
- Cc: neil at daikokuya dot co dot uk
- Date: 21 Apr 2003 00:36:22 +0200
- Subject: Re: cpplib: Preliminary implementation of UCNs
> Hmmm, after reading the C++ phases of translation, it seems pretty
> clear that this is intended. Sigh. I'll try to figure out a way of
> handling this.
I suggest that you do put represent UCNs in UTF-8 in the identifiers.
That gives a unique representation, and arranges \u00AA to be the same
as \U000000AA.
Notice that this does *not* imply any specific mangling, although
it likely simplifies mangling.
Regards,
Martin