summaryrefslogtreecommitdiff
path: root/gcc/scan.h
diff options
context:
space:
mode:
authorbothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4>2004-02-14 17:40:53 +0000
committerbothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4>2004-02-14 17:40:53 +0000
commitc513754a899164fdc32b6f3813bc6a379d5f6e95 (patch)
treeeada207080ac63627087ff1b702269b3d8acb613 /gcc/scan.h
parent08c53a6e374a41439057485946be695f68e4b6d2 (diff)
downloadgcc-c513754a899164fdc32b6f3813bc6a379d5f6e95.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77808 138bc75d-0d04-0410-961f-82ee72b054a4
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;