From 4932d0db3c0b5fbbd5490c8dc677770f50f9468f Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Tue, 11 Jun 2002 06:51:29 +0000 Subject: [PATCH] print the function number when printing the def --- tools/qfprogs/source/globals.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/qfprogs/source/globals.c b/tools/qfprogs/source/globals.c index a9121e3a1..a3513f472 100644 --- a/tools/qfprogs/source/globals.c +++ b/tools/qfprogs/source/globals.c @@ -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);