aboutsummaryrefslogtreecommitdiff
path: root/ltests.c
diff options
context:
space:
mode:
Diffstat (limited to 'ltests.c')
-rw-r--r--ltests.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ltests.c b/ltests.c
index 733e47d4..8b2c0ee1 100644
--- a/ltests.c
+++ b/ltests.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ltests.c,v 2.219 2017/06/09 16:48:44 roberto Exp roberto $ 2** $Id: ltests.c,v 2.220 2017/06/12 14:21:44 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*/
@@ -537,7 +537,7 @@ static char *buildop (Proto *p, int pc, char *buff) {
537 Instruction i = p->code[pc]; 537 Instruction i = p->code[pc];
538 OpCode o = GET_OPCODE(i); 538 OpCode o = GET_OPCODE(i);
539 const char *name = luaP_opnames[o]; 539 const char *name = luaP_opnames[o];
540 int line = getfuncline(p, pc); 540 int line = luaG_getfuncline(p, pc);
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: