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: source location reorg patch 1/n


Andrew Pinski wrote:
In your previous patch, you forgot to change lineno in scan.c and fix-header.c.
this is the correct fix. Andrew has confirmed it works for him.
It appears a bootstrap doesn't necessarily stress fix-headers :(

installed.

nathan

--
Nathan Sidwell    ::   http://www.codesourcery.com   ::     CodeSourcery LLC
         The voices in my head said this was stupid too
nathan@codesourcery.com : http://www.cs.bris.ac.uk/~nathan/ : nathan@acm.org

2003-05-01  Nathan Sidwell  <nathan@codesourcery.com>

	* scan.h (lineno): Revert the rename here.

Index: scan.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/scan.h,v
retrieving revision 1.18
diff -c -3 -p -r1.18 scan.h
*** scan.h	1 May 2003 16:13:29 -0000	1.18
--- scan.h	1 May 2003 19:06:16 -0000
*************** extern int get_token _PARAMS ((FILE *, s
*** 77,80 ****
  extern int source_lineno;
  extern sstring source_filename;
  /* Current physical line number */
! extern int input_line;
--- 77,80 ----
  extern int source_lineno;
  extern sstring source_filename;
  /* Current physical line number */
! extern int lineno;

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