From 37e9c2e74486ed443151430a9b73a3844d3554ef Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Mon, 30 Oct 2000 14:29:59 -0200 Subject: macro DEBUG renamed to LUA_DEBUG --- lstate.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lstate.c') diff --git a/lstate.c b/lstate.c index 4593e5eb..b62cdd98 100644 --- a/lstate.c +++ b/lstate.c @@ -1,5 +1,5 @@ /* -** $Id: lstate.c,v 1.46 2000/10/24 19:12:06 roberto Exp roberto $ +** $Id: lstate.c,v 1.47 2000/10/26 12:47:05 roberto Exp roberto $ ** Global State ** See Copyright Notice in lua.h */ @@ -19,7 +19,7 @@ #include "ltm.h" -#ifdef DEBUG +#ifdef LUA_DEBUG static lua_State *lua_state = NULL; void luaB_opentests (lua_State *L); #endif @@ -55,7 +55,7 @@ static void f_luaopen (lua_State *L, void *ud) { lua_newtable(L); lua_ref(L, 1); /* create registry */ lua_register(L, LUA_ERRORMESSAGE, errormessage); -#ifdef DEBUG +#ifdef LUA_DEBUG luaB_opentests(L); if (lua_state == NULL) lua_state = L; /* keep first state to be opened */ #endif -- cgit v1.2.3-55-g6feb