cpp0 #pragma bug
Zack Weinberg
zack@wolery.cumb.org
Fri Aug 4 17:47:00 GMT 2000
On Fri, Aug 04, 2000 at 03:11:17PM +0200, Andreas Schwab wrote:
> When cpp0 forwards a pragma directive it writes out `#pragma' twice,
> causing the compiler to completely ignore it since there is no #pragma
> pragma.
>
> 2000-08-04 Andreas Schwab <schwab@suse.de>
>
> * cppmain.c (cb_def_pragma): Skip the first two token from the
> token list, which is always `#' and `pragma'.
Applied, thank you.
zw
More information about the Gcc-patches
mailing list