From 782a4df1cf74b6c2aa1a4d2953e09d804c56cdc0 Mon Sep 17 00:00:00 2001 From: belliash Date: Mon, 27 Aug 2018 09:17:18 +0200 Subject: [PATCH] Formatting, add information about file and line. --- engine/vm.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/engine/vm.c b/engine/vm.c index 2c88034..e53c32e 100644 --- a/engine/vm.c +++ b/engine/vm.c @@ -1803,9 +1803,9 @@ static sxi32 VmByteCodeDump( break; } /* Format and call the consumer callback */ - rc = SyProcFormat(xConsumer, pUserData, "%s %8d %8u %#10x [%u]\n", - VmInstrToString(pInstr->iOp), pInstr->iP1, pInstr->iP2, - SX_PTR_TO_INT(pInstr->p3), n); + rc = SyProcFormat(xConsumer, pUserData, "[%05u] %s %8d %8u %#10x %5u %z\n", + n, VmInstrToString(pInstr->iOp), pInstr->iP1, pInstr->iP2, + SX_PTR_TO_INT(pInstr->p3), pInstr->iLine, pInstr->pFile); if(rc != SXRET_OK) { /* Consumer routine request an operation abort */ return rc;