This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: cpplib bug fix (macro expansion)
- To: Dave Brolley <brolley at cygnus dot com>
- Subject: Re: cpplib bug fix (macro expansion)
- From: Zack Weinberg <zack at rabi dot columbia dot edu>
- Date: Sat, 10 Oct 1998 18:03:58 -0400
- cc: egcs-patches at cygnus dot com
On Thu, 08 Oct 1998 14:31:02 -0400, Dave Brolley wrote:
>
>Zack Weinberg wrote:
>
>> So the only way to get a hard newline into a macro definition is with
>> -D. Do you think this case is worth worrying about?
>
>Try it. If it breaks, then it's worth worrying about :-)
>
>Overall, I think it's safer to keep using cpp_skip_hspace, then to
>try and guess what cases could arise. In my experience, whenever I
>play that game, I lose because of some case I didn't know about.
I will revise the patch to use cpp_skip_hspace. However, to avoid
getting too far out of sync, I'd appreciate it if the warnings patch
could be committed first.
zw