diff options
author | daurnimator <quae@daurnimator.com> | 2017-04-26 17:26:00 +1000 |
---|---|---|
committer | daurnimator <quae@daurnimator.com> | 2017-04-26 17:27:03 +1000 |
commit | 992285ba12d217a3def72e49a29fba70e4e48f2f (patch) | |
tree | 5d84504946443de0c86b3419c871a38f59322364 /src/lauxlib.js | |
parent | 382e28086f97085edbf099247949c3f801cc0ed0 (diff) | |
download | fengari-992285ba12d217a3def72e49a29fba70e4e48f2f.tar.gz fengari-992285ba12d217a3def72e49a29fba70e4e48f2f.tar.bz2 fengari-992285ba12d217a3def72e49a29fba70e4e48f2f.zip |
Remove lua.thread_status
Diffstat (limited to 'src/lauxlib.js')
-rw-r--r-- | src/lauxlib.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lauxlib.js b/src/lauxlib.js index 1ee8900..f2cf220 100644 --- a/src/lauxlib.js +++ b/src/lauxlib.js @@ -514,7 +514,7 @@ if (typeof require === "function") { let filename = lapi.lua_tostring(L, fnameindex).slice(1); lapi.lua_pushstring(L, lua.to_luastring(`cannot ${what} ${lobject.jsstring(filename)}: ${serr}`)); lapi.lua_remove(L, fnameindex); - return lua.thread_status.LUA_ERRFILE; + return lua.LUA_ERRFILE; }; const getc = function(lf) { |