From d8a442206d2845e1749cc36dd59208428ef1d117 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Mon, 25 Sep 2000 13:15:52 -0300 Subject: lua_state (now called `L') should not be global --- lua.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lua.c b/lua.c index a9e98b33..c5229f76 100644 --- a/lua.c +++ b/lua.c @@ -1,5 +1,5 @@ /* -** $Id: lua.c,v 1.50 2000/09/05 19:33:32 roberto Exp roberto $ +** $Id: lua.c,v 1.51 2000/09/11 19:42:57 roberto Exp roberto $ ** Lua stand-alone interpreter ** See Copyright Notice in lua.h */ @@ -16,8 +16,7 @@ #include "lualib.h" -lua_State *lua_state = NULL; -#define L lua_state +static lua_State *L = NULL; #ifndef PROMPT -- cgit v1.2.3-55-g6feb