aboutsummaryrefslogtreecommitdiff
path: root/ltests.c
diff options
context:
space:
mode:
Diffstat (limited to 'ltests.c')
-rw-r--r--ltests.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/ltests.c b/ltests.c
index c2943a4f..a27cdb07 100644
--- a/ltests.c
+++ b/ltests.c
@@ -1650,6 +1650,11 @@ static int runC (lua_State *L, lua_State *L1, const char *pc) {
1650 int nres; 1650 int nres;
1651 status = lua_resume(lua_tothread(L1, i), L, getnum, &nres); 1651 status = lua_resume(lua_tothread(L1, i), L, getnum, &nres);
1652 } 1652 }
1653 else if EQ("traceback") {
1654 const char *msg = getstring;
1655 int level = getnum;
1656 luaL_traceback(L1, L1, msg, level);
1657 }
1653 else if EQ("return") { 1658 else if EQ("return") {
1654 int n = getnum; 1659 int n = getnum;
1655 if (L1 != L) { 1660 if (L1 != L) {