This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Move string concatenation out of the C parsers


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]