From aee0f65dea0456635e96b4496f6597188526e647 Mon Sep 17 00:00:00 2001 From: Benoit Giannangeli Date: Thu, 2 Mar 2017 11:31:05 +0100 Subject: [Parsing tests] SETTABUP, GETTABUP --- src/lua.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lua.js') diff --git a/src/lua.js b/src/lua.js index ef5385c..95d0ef8 100644 --- a/src/lua.js +++ b/src/lua.js @@ -57,8 +57,6 @@ const constant_types = { LUA_NUMTAGS: 9 }; -const CT = constant_types; - constant_types.LUA_TSHRSTR = constant_types.LUA_TSTRING | (0 << 4); /* short strings */ constant_types.LUA_TLNGSTR = constant_types.LUA_TSTRING | (1 << 4); /* long strings */ @@ -69,6 +67,8 @@ constant_types.LUA_TLCL = constant_types.LUA_TFUNCTION | (0 << 4); /* Lua closu constant_types.LUA_TLCF = constant_types.LUA_TFUNCTION | (1 << 4); /* light C function */ constant_types.LUA_TCCL = constant_types.LUA_TFUNCTION | (2 << 4); /* C closure */ +const CT = constant_types; + /* ** Comparison and arithmetic functions */ -- cgit v1.2.3-54-g00ecf