summaryrefslogtreecommitdiff
path: root/gcc/toplev.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/toplev.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/toplev.h')
-rw-r--r--gcc/toplev.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/toplev.h b/gcc/toplev.h
index 2b2a2918c26..033c6dcdae6 100644
--- a/gcc/toplev.h
+++ b/gcc/toplev.h
@@ -119,6 +119,9 @@ extern void target_reinit (void);
/* A unique local time stamp, might be zero if none is available. */
extern unsigned local_tick;
+/* Top-level source file. */
+extern const char *main_input_filename;
+
extern const char *progname;
extern const char *dump_base_name;
extern const char *dump_dir_name;