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: PATCH for more precise column numbers in C/C++ parsers


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)


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