diff options
author | Benoit Giannangeli <giann008@gmail.com> | 2017-05-20 20:56:59 +0200 |
---|---|---|
committer | Benoit Giannangeli <giann008@gmail.com> | 2017-05-20 20:56:59 +0200 |
commit | 9a117f98785274474e1317e587591f3c385cc91b (patch) | |
tree | c11853b315fe080f0d064d285d26f7aad34476d3 | |
parent | cb23cec753677033d546564c8a092b7d7637e48b (diff) | |
download | fengari-9a117f98785274474e1317e587591f3c385cc91b.tar.gz fengari-9a117f98785274474e1317e587591f3c385cc91b.tar.bz2 fengari-9a117f98785274474e1317e587591f3c385cc91b.zip |
Fixed bad oldtop value in seterrorobj
-rw-r--r-- | src/ldo.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -382,7 +382,7 @@ const recover = function(L, status) { let ci = findpcall(L); if (ci === null) return 0; /* no recovery point */ /* "finish" luaD_pcall */ - let oldtop = L.stack[ci.extra]; + let oldtop = ci.extra; lfunc.luaF_close(L, oldtop); seterrorobj(L, status, oldtop); L.ci = ci; |