aboutsummaryrefslogtreecommitdiff
path: root/ldo.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--ldo.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/ldo.c b/ldo.c
index 4705b26c..3ddc5a4c 100644
--- a/ldo.c
+++ b/ldo.c
@@ -111,10 +111,6 @@ void luaD_seterrorobj (lua_State *L, TStatus errcode, StkId oldtop) {
111 setsvalue2s(L, oldtop, luaS_newliteral(L, "error in error handling")); 111 setsvalue2s(L, oldtop, luaS_newliteral(L, "error in error handling"));
112 break; 112 break;
113 } 113 }
114 case LUA_OK: { /* special case only for closing upvalues */
115 setnilvalue(s2v(oldtop)); /* no error message */
116 break;
117 }
118 default: { 114 default: {
119 lua_assert(errorstatus(errcode)); /* real error */ 115 lua_assert(errorstatus(errcode)); /* real error */
120 setobjs2s(L, oldtop, L->top.p - 1); /* error message on current top */ 116 setobjs2s(L, oldtop, L->top.p - 1); /* error message on current top */