This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: lame feature request: option to disable multiline C++ comments
- To: John Belmonte <john at nanaon-sha dot co dot jp>
- Subject: Re: lame feature request: option to disable multiline C++ comments
- From: Neil Booth <neil at daikokuya dot demon dot co dot uk>
- Date: Tue, 9 Jan 2001 14:05:47 +0000
- Cc: gcc at gcc dot gnu dot org
- References: <007c01c07a2c$25320a40$8402a8c0@johndell>
John Belmonte wrote:-
> Why would this be useful? Say if double-byte encoded characters are
> being used for code comments, and the 2nd byte of the last character
> in a '//' comment happens to be a \. Specifically this happens
> often for Japanese comments encoded in Shift-JIS or EUC. The usual
> workaround is to add a non-offending character at the end of the
> line when the error comes up.
I'd rather we put up with the current behaviour a little while longer.
Hopefully in the not too distant future CPP will handle mutlibyte
charsets properly, and this issue will automatically vanish.
In the meantime, please bear with adding something unoffensive at the
end :-)
Cheers,
Neil.