mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-03-19 17:01:46 +00:00
print the function number when printing the def
This commit is contained in:
parent
fe48995a0c
commit
4932d0db3c
1 changed files with 2 additions and 2 deletions
|
@ -69,9 +69,9 @@ dump_globals (progs_t *pr)
|
|||
func_t func = G_FUNCTION (pr, offset);
|
||||
int start = pr->pr_functions[func].first_statement;
|
||||
if (start > 0)
|
||||
comment = va (" @ %d", start);
|
||||
comment = va (" %d @ %d", func, start);
|
||||
else
|
||||
comment = va (" = #%d", -start);
|
||||
comment = va (" %d = #%d", func, -start);
|
||||
}
|
||||
|
||||
printf ("%s %d %d %s%s\n", type, saveglobal, offset, name, comment);
|
||||
|
|
Loading…
Reference in a new issue