From 043dfbed7c500ba58d44da808c403575e4b83f38 Mon Sep 17 00:00:00 2001 From: daurnimator Date: Wed, 31 May 2017 13:08:00 +1000 Subject: LUA_NUMTAGS is inside constant_types --- src/defs.js | 2 -- src/lstate.js | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) (limited to 'src') 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; -- cgit v1.2.3-70-g09d2