diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-05-09 11:50:16 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-05-09 11:50:16 -0300 |
commit | 44b71ca81696dbec561c0172d1b81533f1c2153e (patch) | |
tree | 1394282cedc0766c214d6a15d0e3503ab4684a1d /ldo.c | |
parent | bad6365540ad9e17e51137a6797ff196d6b8d2a1 (diff) | |
download | lua-44b71ca81696dbec561c0172d1b81533f1c2153e.tar.gz lua-44b71ca81696dbec561c0172d1b81533f1c2153e.tar.bz2 lua-44b71ca81696dbec561c0172d1b81533f1c2153e.zip |
defines for _ERRORMESSAGE and _ALERT
Diffstat (limited to 'ldo.c')
-rw-r--r-- | ldo.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ldo.c,v 1.73 2000/04/14 18:12:35 roberto Exp roberto $ | 2 | ** $Id: ldo.c,v 1.74 2000/05/08 19:32:53 roberto Exp roberto $ |
3 | ** Stack and Call structure of Lua | 3 | ** Stack and Call structure of Lua |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -223,7 +223,7 @@ void luaD_call (lua_State *L, StkId func, int nResults) { | |||
223 | 223 | ||
224 | 224 | ||
225 | static void message (lua_State *L, const char *s) { | 225 | static void message (lua_State *L, const char *s) { |
226 | const TObject *em = luaH_getglobal(L, "_ERRORMESSAGE"); | 226 | const TObject *em = luaH_getglobal(L, LUA_ERRORMESSAGE); |
227 | if (*luaO_typename(em) == 'f') { | 227 | if (*luaO_typename(em) == 'f') { |
228 | *L->top = *em; | 228 | *L->top = *em; |
229 | incr_top; | 229 | incr_top; |