From: Wolfgang (Blub) Bumiller Date: Wed, 5 Dec 2012 13:22:24 +0000 (+0100) Subject: More stuff in qcvm -printfuns X-Git-Tag: 0.1.9~111 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=5f0f5bedbce744decf3518aa0188f72c037ddebb;p=xonotic%2Fgmqcc.git More stuff in qcvm -printfuns --- diff --git a/exec.c b/exec.c index f9daf0d..bea8ce4 100644 --- a/exec.c +++ b/exec.c @@ -948,13 +948,15 @@ int main(int argc, char **argv) else if (opts_printfuns) { for (i = 0; i < vec_size(prog->functions); ++i) { int32_t a; - printf("Function: %-16s taking %i parameters:", + printf("Function: %-16s taking %i parameters:(", prog_getstring(prog, prog->functions[i].name), (unsigned int)prog->functions[i].nargs); for (a = 0; a < prog->functions[i].nargs; ++a) { printf(" %i", prog->functions[i].argsize[a]); } - printf(" firstlocal: %i\n", prog->functions[i].firstlocal); + printf(") locals: %i + %i\n", + prog->functions[i].firstlocal, + prog->functions[i].locals); } } else