This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Move string concatenation out of the C parsers
- From: Stan Shebs <shebs at apple dot com>
- To: Neil Booth <neil at daikokuya dot demon dot co dot uk>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Fri, 07 Dec 2001 17:41:16 -0800
- Subject: Re: Move string concatenation out of the C parsers
- References: <20011208003739.A18870@daikokuya.demon.co.uk>
Neil Booth wrote:
>
> This move isn't possible without altering the parser implementation of
> ObjC strings, which happily is actually a minor cleanup. Leaving it
> as it was would require cpplib to be able to back up more than one
> token, which is awkward to implement and never going to happen (think
> just-exited macros whose expansions have been popped off the stack,
> only to immediately enter a new one. Trust me, you don't want to go
> there 8^)).
>
> Note that ObjC string _semantics_ do not change with this patch.
The ObjC part of this looks OK to me. (One of these days I need to
write some more string tests...)
Stan