diff options
author | Benoit Giannangeli <benoit.giannangeli@boursorama.fr> | 2017-02-21 09:55:56 +0100 |
---|---|---|
committer | Benoit Giannangeli <benoit.giannangeli@boursorama.fr> | 2017-02-21 09:55:56 +0100 |
commit | e111f5cb7a21455df2c62eb65cd7b38aac0d834c (patch) | |
tree | 429d0f422e536d945a9d7c7c89ca1122a981fa2f /src/ldo.js | |
parent | 66826a03cd3215d1d25856a3d07d9d37be7fe602 (diff) | |
download | fengari-e111f5cb7a21455df2c62eb65cd7b38aac0d834c.tar.gz fengari-e111f5cb7a21455df2c62eb65cd7b38aac0d834c.tar.bz2 fengari-e111f5cb7a21455df2c62eb65cd7b38aac0d834c.zip |
luaG_concaterror, luaG_opinterror, luaG_tointerror
Diffstat (limited to 'src/ldo.js')
-rw-r--r-- | src/ldo.js | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -15,7 +15,6 @@ const CT = lua.constant_types; const TS = lua.thread_status; const LUA_MULTRET = lua.LUA_MULTRET; const TValue = lobject.TValue; -const TMS = ltm.TMS; const nil = new TValue(CT.LUA_TNIL, null); @@ -189,7 +188,7 @@ const adjust_varargs = function(L, p, actual) { }; const tryfuncTM = function(L, off, func) { - let tm = ltm.luaT_gettmbyobj(L, func, TMS.TM_CALL); + let tm = ltm.luaT_gettmbyobj(L, func, ltm.TMS.TM_CALL); if (!tm.ttisfunction(tm)) throw new Error("__call metatable member is not a function"); // TODO: luaG_typeerror /* Open a hole inside the stack at 'func' */ |