This is the mail archive of the gcc@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 to-do list


Zack Weinberg wrote:

> I wrote up a to-do list for cpplib.  Comments would be appreciated.
>
> http://rabi.phys.columbia.edu/~zack/code/cpplib.html

>From item 5:

> cpplib contains some optimizations which may not be valid in the
presence
> of multibyte characters. The code to read files and perform
translation phases
> 1 through 3 (read_and_prescan in cppfiles.c) will break if the bytes
> corresponding to \, ?, ^M, and ^J in ASCII can appear "inside" a
multibyte
> character. (I believe there is no charset with this problem.)

Shift-JIS has \ in the second byte of some characters. Sorry...

    Brane

(It's always a great satisfaction to destroy someone's beliefs >:->)

--
Branko Čibej                 <branko.cibej@hermes.si>
HERMES SoftLab, Litijska 51, 1000 Ljubljana, Slovenia
voice: (+386 61) 186 53 49   fax: (+386 61) 186 52 70



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