]> git.ipfire.org Git - thirdparty/gcc.git/commit
fix-header.c (line_table): Move local variable in main to global.
authorPer Bothner <per@bothner.com>
Sat, 14 Feb 2004 17:40:53 +0000 (09:40 -0800)
committerPer Bothner <bothner@gcc.gnu.org>
Sat, 14 Feb 2004 17:40:53 +0000 (09:40 -0800)
commitc7762b449dca23277872cd1365c84522e42caadc
treeeada207080ac63627087ff1b702269b3d8acb613
parentcb7c0b5a3ebf751bae0be29a1cf3fff974fd1728
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
gcc/ChangeLog
gcc/fix-header.c
gcc/scan-decls.c
gcc/scan.h