mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-26 14:20:59 +00:00
Fix the bogus source file for "redefined" functions.
This commit is contained in:
parent
7dbd5f656c
commit
6a49861b49
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue