This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Patch for bug c++/17964 (cpp error locations for C++)
- From: Mark Mitchell <mark at codesourcery dot com>
- To: "Joseph S. Myers" <joseph at codesourcery dot com>
- Cc: gcc-patches at gcc dot gnu dot org, Per Bothner <per at bothner dot com>, Gabriel Dos Reis <gdr at integrable-solutions dot net>
- Date: Wed, 02 Nov 2005 23:01:16 -0800
- Subject: Re: Patch for bug c++/17964 (cpp error locations for C++)
- References: <Pine.LNX.4.64.0511020144100.22164@digraph.polyomino.org.uk>
Joseph S. Myers wrote:
> This patch fixes bug 17964, a regression in preprocessor diagnostics
> for C++ caused by lexing up front but deferring string interpretation
> (which depends on the parse context) until later, so the
> preprocessor's notion of source location does not relate to the actual
> source location at that point.
I think this is fine.
However, I want to give the cpplib and diagnostic maintainers a chance
to object. If there are no objections within 24 hours, please go ahead
and commit.
Thanks,
--
Mark Mitchell
CodeSourcery, LLC
mark@codesourcery.com
(916) 791-8304