diff options
-rw-r--r-- | src/defs.js | 2 | ||||
-rw-r--r-- | src/lstate.js | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/src/defs.js b/src/defs.js index 5091fb2..9e0fa5c 100644 --- a/src/defs.js +++ b/src/defs.js @@ -97,7 +97,6 @@ const LUA_OPEQ = 0; const LUA_OPLT = 1; const LUA_OPLE = 2; -const LUA_NUMTAGS = 9; const LUA_MINSTACK = 20; const LUA_REGISTRYINDEX = -luaconf.LUAI_MAXSTACK - 1000; @@ -371,7 +370,6 @@ module.exports.LUA_MASKLINE = LUA_MASKLINE; module.exports.LUA_MASKRET = LUA_MASKRET; module.exports.LUA_MINSTACK = LUA_MINSTACK; module.exports.LUA_MULTRET = -1; -module.exports.LUA_NUMTAGS = LUA_NUMTAGS; module.exports.LUA_OPADD = LUA_OPADD; module.exports.LUA_OPBAND = LUA_OPBAND; module.exports.LUA_OPBNOT = LUA_OPBNOT; diff --git a/src/lstate.js b/src/lstate.js index 9046adf..6cd906d 100644 --- a/src/lstate.js +++ b/src/lstate.js @@ -12,7 +12,7 @@ const lfunc = require('./lfunc.js'); const ltm = require('./ltm.js'); const CT = defs.constant_types; const TS = defs.thread_status; -const LUA_NUMTAGS = defs.LUA_NUMTAGS; +const LUA_NUMTAGS = CT.LUA_NUMTAGS; const EXTRA_STACK = 5; |