Skip to content

Commit ebaffcc

Browse files
committed
修复一个合并错误
1 parent 0714a89 commit ebaffcc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

3rd/lua/ldebug.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -824,6 +824,7 @@ const char *luaG_addinfo (lua_State *L, const char *msg, TString *src,
824824

825825

826826
l_noret luaG_errormsg (lua_State *L) {
827+
luai_errevent(L, LUA_ERRRUN);
827828
if (L->errfunc != 0) { /* is there an error handling function? */
828829
StkId errfunc = restorestack(L, L->errfunc);
829830
lua_assert(ttisfunction(s2v(errfunc)));

0 commit comments

Comments
 (0)