This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Patch to fix cpplib #line handling
- To: Jason Merrill <jason at cygnus dot com>
- Subject: Re: Patch to fix cpplib #line handling
- From: Zack Weinberg <zack at bitmover dot com>
- Date: Fri, 13 Aug 1999 17:30:42 -0700
- cc: brolley at cygnus dot com, gcc-patches at gcc dot gnu dot org
Jason Merrill wrote:
> >>>>> Zack Weinberg <zack@bitmover.com> writes:
>
> > Jason Merrill wrote:
> >> cpplib wasn't able to handle the sequence '1 3 4'; it was only able to
> >> handle either a 3 or a 4.
>
> > Where is this sequence coming from? Flag 4 implies flag 3, so it's
> > not useful to put them both on the same directive.
>
> Fair enough.
>
> > cpp never emits '3 4'
>
> Yes, it does. Take another look at output_line_command.
You're right. It's been awhile since I was there.
We can put your patch in, or we can change it to only emit a four, and
make sure the C and C++ front ends can handle that. Which would you
prefer?
zw