diff options
Diffstat (limited to 'ltests.c')
-rw-r--r-- | ltests.c | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ltests.c,v 1.3 1999/12/27 17:33:22 roberto Exp roberto $ | 2 | ** $Id: ltests.c,v 1.4 2000/01/13 16:30:47 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 | */ |
@@ -230,10 +230,6 @@ static void testC (lua_State *L) { | |||
230 | int n = getreg(L, &pc); | 230 | int n = getreg(L, &pc); |
231 | lua_settagmethod(L, (int)lua_getnumber(L, reg[n]), getname(&pc)); | 231 | lua_settagmethod(L, (int)lua_getnumber(L, reg[n]), getname(&pc)); |
232 | } | 232 | } |
233 | else if EQ("getfunc") { | ||
234 | int n = getreg(L, &pc); | ||
235 | reg[n] = lua_stackedfunction(L, getnum(&pc)); | ||
236 | } | ||
237 | else if EQ("beginblock") { | 233 | else if EQ("beginblock") { |
238 | lua_beginblock(L); | 234 | lua_beginblock(L); |
239 | } | 235 | } |