summaryrefslogtreecommitdiff
path: root/gcc/input.h
diff options
context:
space:
mode:
authorjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>2010-05-27 11:33:27 +0000
committerjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>2010-05-27 11:33:27 +0000
commit37ba48872f773ad93053f35d5f545c2fa1d2244a (patch)
treebfed6bb6e112c74d201870514c06a78bd243ee61 /gcc/input.h
parent411503bd1aec3151dafbb40f7f89ce7e9dde149f (diff)
downloadgcc-37ba48872f773ad93053f35d5f545c2fa1d2244a.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159914 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/input.h')
-rw-r--r--gcc/input.h5
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)