diff options
author | daurnimator <quae@daurnimator.com> | 2017-05-23 16:22:38 +1000 |
---|---|---|
committer | Benoit Giannangeli <giann008@gmail.com> | 2017-05-24 10:15:31 +0200 |
commit | 85e4964ecc198dad6a9b4f3e179acf80aca2da93 (patch) | |
tree | a33534100db9e7bd8d12ec246b158c52917b9897 /src | |
parent | 952fbbcbf5cffa3c480a3a0d045ad52941d600af (diff) | |
download | fengari-85e4964ecc198dad6a9b4f3e179acf80aca2da93.tar.gz fengari-85e4964ecc198dad6a9b4f3e179acf80aca2da93.tar.bz2 fengari-85e4964ecc198dad6a9b4f3e179acf80aca2da93.zip |
src/ldo.js: LUA_YIELD comes from defs.TS not lstate
Diffstat (limited to 'src')
-rw-r--r-- | src/ldo.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -415,7 +415,7 @@ const unroll = function(L, ud) { while (L.ci !== L.base_ci) { /* something in the stack */ if (!(L.ci.callstatus & lstate.CIST_LUA)) /* C function? */ - finishCcall(L, lstate.LUA_YIELD); /* complete its execution */ + finishCcall(L, TS.LUA_YIELD); /* complete its execution */ else { /* Lua function */ lvm.luaV_finishOp(L); /* finish interrupted instruction */ lvm.luaV_execute(L); /* execute down to higher C 'boundary' */ |