diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-01-19 10:00:45 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-01-19 10:00:45 -0200 |
commit | 2877bad4c260d11c22c3b12e633d6b1ca3415789 (patch) | |
tree | 2109684c4521c34b584bfd24e0eae05688c7fc32 /ltests.c | |
parent | 27163f032eed6b851b98a0ab67b1387d701e61c0 (diff) | |
download | lua-2877bad4c260d11c22c3b12e633d6b1ca3415789.tar.gz lua-2877bad4c260d11c22c3b12e633d6b1ca3415789.tar.bz2 lua-2877bad4c260d11c22c3b12e633d6b1ca3415789.zip |
new debug API (first version)
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 | } |