summaryrefslogtreecommitdiff
path: root/ldo.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2001-01-10 16:56:11 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2001-01-10 16:56:11 -0200
commitdabb19fc17acee55f9052c5d17ec07360cec809d (patch)
tree76983221f936eee7e681559093b3b23f8968e711 /ldo.c
parent08496eea8b277d37c4de9cf75a011715ad6a4100 (diff)
downloadlua-dabb19fc17acee55f9052c5d17ec07360cec809d.tar.gz
lua-dabb19fc17acee55f9052c5d17ec07360cec809d.tar.bz2
lua-dabb19fc17acee55f9052c5d17ec07360cec809d.zip
specialized versions for luaH_set (numbers and strings)
Diffstat (limited to 'ldo.c')
-rw-r--r--ldo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ldo.c b/ldo.c
index eb6fd46e..46c397ea 100644
--- a/ldo.c
+++ b/ldo.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ldo.c,v 1.111 2000/12/28 12:55:41 roberto Exp roberto $ 2** $Id: ldo.c,v 1.112 2001/01/10 16:58:11 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*/
@@ -332,7 +332,7 @@ struct lua_longjmp {
332 332
333 333
334static void message (lua_State *L, const char *s) { 334static void message (lua_State *L, const char *s) {
335 const TObject *em = luaH_getglobal(L, LUA_ERRORMESSAGE); 335 const TObject *em = luaH_getstr(L->gt, luaS_newliteral(L, LUA_ERRORMESSAGE));
336 if (ttype(em) == LUA_TFUNCTION) { 336 if (ttype(em) == LUA_TFUNCTION) {
337 *L->top = *em; 337 *L->top = *em;
338 incr_top; 338 incr_top;