diff options
Diffstat (limited to '')
-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; |