summaryrefslogtreecommitdiff
path: root/gcc/scan.h
diff options
context:
space:
mode:
authorPer Bothner <per@bothner.com>2004-02-14 09:40:53 -0800
committerPer Bothner <bothner@gcc.gnu.org>2004-02-14 09:40:53 -0800
commitc7762b449dca23277872cd1365c84522e42caadc (patch)
treeeada207080ac63627087ff1b702269b3d8acb613 /gcc/scan.h
parentcb7c0b5a3ebf751bae0be29a1cf3fff974fd1728 (diff)
downloadgcc-c7762b449dca23277872cd1365c84522e42caadc.tar.gz
fix-header.c (line_table): Move local variable in main to global.
* fix-header.c (line_table): Move local variable in main to global. * scan.h (line_table): Use it. * scan-decls.c (scan_decls): Need to call linemap_lookup on token's line (recently renamed to src_loc) before calling recognized_function. From-SVN: r77808
Diffstat (limited to 'gcc/scan.h')
-rw-r--r--gcc/scan.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/scan.h b/gcc/scan.h
index 7062cdaf90e..0d42de5caf8 100644
--- a/gcc/scan.h
+++ b/gcc/scan.h
@@ -70,3 +70,5 @@ extern int source_lineno;
extern sstring source_filename;
/* Current physical line number */
extern int lineno;
+
+extern struct line_maps line_table;