aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ltests.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/ltests.c b/ltests.c
index c20085a0..01e37047 100644
--- a/ltests.c
+++ b/ltests.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ltests.c,v 2.136 2013/04/24 19:41:48 roberto Exp roberto $ 2** $Id: ltests.c,v 2.137 2013/04/26 13:07:53 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*/
@@ -1109,6 +1109,9 @@ static int runC (lua_State *L, lua_State *L1, const char *pc) {
1109 lua_pop(L1, getnum); 1109 lua_pop(L1, getnum);
1110 } 1110 }
1111 else if EQ("pushnum") { 1111 else if EQ("pushnum") {
1112 lua_pushnumber(L1, (lua_Number)getnum);
1113 }
1114 else if EQ("pushint") {
1112 lua_pushinteger(L1, getnum); 1115 lua_pushinteger(L1, getnum);
1113 } 1116 }
1114 else if EQ("pushstring") { 1117 else if EQ("pushstring") {