This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH for more precise column numbers in C/C++ parsers
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: Per Bothner <per at bothner dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 8 Mar 2005 13:14:45 +0000 (UTC)
- Subject: Re: PATCH for more precise column numbers in C/C++ parsers
- References: <422D167D.20605@bothner.com>
On Mon, 7 Mar 2005, Per Bothner wrote:
> int f (int x)
> {
> int a22 , b1 , * b2 ;
> int b1;
> return aaa + a22;
> }
Please include something like this, but with each token in the function on
a separate line, as a testcase for both C and C++ that the diagnostics are
now on the desired tokens. (I don't think dejagnu can readily test the
column numbers, but by putting each token on a separate line you don't
need it to.)
--
Joseph S. Myers http://www.srcf.ucam.org/~jsm28/gcc/
jsm@polyomino.org.uk (personal mail)
joseph@codesourcery.com (CodeSourcery mail)
jsm28@gcc.gnu.org (Bugzilla assignments and CCs)