diff options
author | Joseph Myers <joseph@codesourcery.com> | 2010-05-27 12:33:27 +0100 |
---|---|---|
committer | Joseph Myers <jsm28@gcc.gnu.org> | 2010-05-27 12:33:27 +0100 |
commit | 447924ef3b084b400c2e1586d5fa404d625d6407 (patch) | |
tree | bfed6bb6e112c74d201870514c06a78bd243ee61 /gcc/input.h | |
parent | 62116e601b614aafe9a7453b26b43d1cfa1d0f8d (diff) |
input.c: New file.
* input.c: New file.
* input.h (main_input_filename): Move declaration to toplev.h.
* toplev.c (input_location, line_table): Move to input.c
* toplev.h (main_input_filename): Move declaration from input.h.
* tree.c (expand_location): Move to input.c.
* Makefile.in (OBJS-common): Add input.o.
(input.o): Add dependencies.
From-SVN: r159914
Diffstat (limited to 'gcc/input.h')
-rw-r--r-- | gcc/input.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/gcc/input.h b/gcc/input.h index 7f00dc7cd0a..399a685423a 100644 --- a/gcc/input.h +++ b/gcc/input.h @@ -1,6 +1,6 @@ /* Declarations for variables relating to reading the source file. Used by parsers, lexical analyzers, and error message routines. - Copyright (C) 1993, 1997, 1998, 2000, 2003, 2004, 2007, 2008, 2009 + Copyright (C) 1993, 1997, 1998, 2000, 2003, 2004, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. This file is part of GCC. @@ -57,9 +57,6 @@ extern expanded_location expand_location (source_location); This could be removed but it hardly seems worth the effort. */ typedef source_location location_t; -/* Top-level source file. */ -extern const char *main_input_filename; - extern location_t input_location; #define LOCATION_FILE(LOC) ((expand_location (LOC)).file) |