diff options
Diffstat (limited to 'src/lib_base.c')
-rw-r--r-- | src/lib_base.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib_base.c b/src/lib_base.c index dd54b9f9..4e6f8a30 100644 --- a/src/lib_base.c +++ b/src/lib_base.c | |||
@@ -616,7 +616,10 @@ static int ffh_resume(lua_State *L, lua_State *co, int wrap) | |||
616 | setstrV(L, L->base-LJ_FR2, lj_err_str(L, em)); | 616 | setstrV(L, L->base-LJ_FR2, lj_err_str(L, em)); |
617 | return FFH_RES(2); | 617 | return FFH_RES(2); |
618 | } | 618 | } |
619 | lj_state_growstack(co, (MSize)(L->top - L->base)); | 619 | if (lj_state_cpgrowstack(co, (MSize)(L->top - L->base)) != LUA_OK) { |
620 | cTValue *msg = --co->top; | ||
621 | lj_err_callermsg(L, strVdata(msg)); | ||
622 | } | ||
620 | return FFH_RETRY; | 623 | return FFH_RETRY; |
621 | } | 624 | } |
622 | 625 | ||