This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: cpplib: locale-sensitive lexing
- To: Neil Booth <neil at daikokuya dot demon dot co dot uk>
- Subject: Re: cpplib: locale-sensitive lexing
- From: "Joseph S. Myers" <jsm28 at cam dot ac dot uk>
- Date: Thu, 25 Oct 2001 01:27:38 +0100 (BST)
- cc: <gcc-patches at gcc dot gnu dot org>, Zack Weinberg <zack at codesourcery dot com>
On Wed, 24 Oct 2001, Neil Booth wrote:
> This patch doesn't touch the routines that interpret literals, and
> doesn't do anything about "extended identifiers". String and
> character literals are preserved as they appear in the source file,
> with the sole exception that trigraphs are converted. This means that
> preprocessed output is in the same character set as the input, and can
> be correctly re-lexed under the same locale.
Do I understand correctly that this patch does nothing about
multibyte-to-wide conversion when wide and narrow strings are concatenated
(see N951), and does not attempt to support the ISO C++ rules where they
differ from C99?
--
Joseph S. Myers
jsm28@cam.ac.uk