aboutsummaryrefslogtreecommitdiff
path: root/ltests.c
diff options
context:
space:
mode:
Diffstat (limited to 'ltests.c')
-rw-r--r--ltests.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/ltests.c b/ltests.c
index b4518604..7420fe3b 100644
--- a/ltests.c
+++ b/ltests.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ltests.c,v 2.223 2017/06/29 15:06:44 roberto Exp roberto $ 2** $Id: ltests.c,v 2.224 2017/10/01 19:17:51 roberto Exp roberto $
3** Internal Module for Debugging of the Lua Implementation 3** Internal Module for Debugging of the Lua Implementation
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -541,8 +541,9 @@ static char *buildop (Proto *p, int pc, char *buff) {
541 sprintf(buff, "(%4d) %4d - ", line, pc); 541 sprintf(buff, "(%4d) %4d - ", line, pc);
542 switch (getOpMode(o)) { 542 switch (getOpMode(o)) {
543 case iABC: 543 case iABC:
544 sprintf(buff+strlen(buff), "%-12s%4d %4d %4d", name, 544 sprintf(buff+strlen(buff), "%-12s%4d %4d %4d%s", name,
545 GETARG_A(i), GETARG_B(i), GETARG_C(i)); 545 GETARG_A(i), GETARG_B(i), GETARG_C(i),
546 GETARG_k(i) ? " (k)" : "");
546 break; 547 break;
547 case iABx: 548 case iABx:
548 sprintf(buff+strlen(buff), "%-12s%4d %4d", name, GETARG_A(i), GETARG_Bx(i)); 549 sprintf(buff+strlen(buff), "%-12s%4d %4d", name, GETARG_A(i), GETARG_Bx(i));