This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH/RFA] Add -CC option to cpplib to save comments in macros
Sorry about the very late reply (still trying to catch up).
On Apr 5, 2002, Neil Booth <neil@daikokuya.demon.co.uk> wrote:
> Jason R Thorpe wrote:-
>> Yah, the C++ thing is kind of hard. It's not clear to me that you *can*
>> make it work in any reasonable way with C++ comments. (Hm, maybe by using
>> a different token type for C++ comments?)
> Just make them into C comments 8-)
How about something like:
a = // gotcha */ b; /*
foo ();
it surely means something other than
a = /* gotcha */ b; /**/
foo ();
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist Professional serial bug killer