This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: cpplib: locale-sensitive lexing


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]