From 6a49861b49ce9e49ba16ff04022b2594b36e2aca Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Tue, 22 Mar 2011 13:45:44 +0900 Subject: [PATCH] Fix the bogus source file for "redefined" functions. --- tools/qfcc/source/function.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/qfcc/source/function.c b/tools/qfcc/source/function.c index 2c7f0945f..878148ba8 100644 --- a/tools/qfcc/source/function.c +++ b/tools/qfcc/source/function.c @@ -559,6 +559,7 @@ begin_function (symbol_t *sym, const char *nicename, symtab_t *parent, } sym->s.func->code = pr.code->size; + sym->s.func->s_file = pr.source_file; if (options.code.debug) { pr_lineno_t *lineno = new_lineno (); sym->s.func->line_info = lineno - pr.linenos;