From 6becdb3e7070cb44f9ea9fd88fbf23719c9b58d5 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Fri, 3 Oct 2003 13:04:11 -0300 Subject: [PATCH] details --- ldo.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ldo.c b/ldo.c index 75bdd133..9b01dc98 100644 --- a/ldo.c +++ b/ldo.c @@ -1,5 +1,5 @@ /* -** $Id: ldo.c,v 1.224 2003/08/27 21:01:44 roberto Exp roberto $ +** $Id: ldo.c,v 1.225 2003/09/05 14:30:59 roberto Exp roberto $ ** Stack and Call structure of Lua ** See Copyright Notice in lua.h */ @@ -64,11 +64,11 @@ struct lua_longjmp { static void seterrorobj (lua_State *L, int errcode, StkId oldtop) { switch (errcode) { case LUA_ERRMEM: { - setsvalue2s(oldtop, luaS_new(L, MEMERRMSG)); + setsvalue2s(oldtop, luaS_newliteral(L, MEMERRMSG)); break; } case LUA_ERRERR: { - setsvalue2s(oldtop, luaS_new(L, "error in error handling")); + setsvalue2s(oldtop, luaS_newliteral(L, "error in error handling")); break; } case LUA_ERRSYNTAX: