From 2877bad4c260d11c22c3b12e633d6b1ca3415789 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Wed, 19 Jan 2000 10:00:45 -0200 Subject: new debug API (first version) --- ltests.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'ltests.c') diff --git a/ltests.c b/ltests.c index 658c9deb..a91d51d6 100644 --- a/ltests.c +++ b/ltests.c @@ -1,5 +1,5 @@ /* -** $Id: ltests.c,v 1.3 1999/12/27 17:33:22 roberto Exp roberto $ +** $Id: ltests.c,v 1.4 2000/01/13 16:30:47 roberto Exp roberto $ ** Internal Module for Debugging of the Lua Implementation ** See Copyright Notice in lua.h */ @@ -230,10 +230,6 @@ static void testC (lua_State *L) { int n = getreg(L, &pc); lua_settagmethod(L, (int)lua_getnumber(L, reg[n]), getname(&pc)); } - else if EQ("getfunc") { - int n = getreg(L, &pc); - reg[n] = lua_stackedfunction(L, getnum(&pc)); - } else if EQ("beginblock") { lua_beginblock(L); } -- cgit v1.2.3-55-g6feb