mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-02-18 09:51:40 +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->code = pr.code->size;
|
||||||
|
|
||||||
|
sym->s.func->s_file = pr.source_file;
|
||||||
if (options.code.debug) {
|
if (options.code.debug) {
|
||||||
pr_lineno_t *lineno = new_lineno ();
|
pr_lineno_t *lineno = new_lineno ();
|
||||||
sym->s.func->line_info = lineno - pr.linenos;
|
sym->s.func->line_info = lineno - pr.linenos;
|
||||||
|
|
Loading…
Reference in a new issue