mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-03-19 17:01:46 +00:00
get the source line for the function from a more reliable location
This commit is contained in:
parent
980be66c0e
commit
17cd41883e
1 changed files with 1 additions and 1 deletions
|
@ -490,7 +490,7 @@ begin_function
|
|||
$$->code = pr.code->size;
|
||||
if (options.code.debug) {
|
||||
pr_lineno_t *lineno = new_lineno ();
|
||||
$$->aux->source_line = pr.source_line;
|
||||
$$->aux->source_line = $$->def->line;
|
||||
$$->aux->line_info = lineno - pr.linenos;
|
||||
$$->aux->local_defs = pr.num_locals;
|
||||
|
||||
|
|
Loading…
Reference in a new issue