From fdf7a537c8ae13fc7ccb32278e5e364a52005443 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Tue, 30 Oct 2018 19:50:15 -0700 Subject: Versioning fixes. --- nomsu_compiler.lua | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'nomsu_compiler.lua') diff --git a/nomsu_compiler.lua b/nomsu_compiler.lua index 3d0580a..7aa117c 100644 --- a/nomsu_compiler.lua +++ b/nomsu_compiler.lua @@ -153,13 +153,11 @@ local NomsuCompiler = setmetatable({ }, { }) local _anon_chunk = 0 do - NomsuCompiler.NOMSU_COMPILER_VERSION = 9 - NomsuCompiler.NOMSU_SYNTAX_VERSION = max_parser_version NomsuCompiler.can_optimize = function() return false end NomsuCompiler.environment = { - NOMSU_COMPILER_VERSION = 8, + NOMSU_COMPILER_VERSION = 9, NOMSU_SYNTAX_VERSION = max_parser_version, next = next, unpack = unpack, @@ -212,7 +210,6 @@ do __imported = Dict({ }), __parent = nil } - assert(NomsuCompiler.environment.globals) setmetatable(NomsuCompiler.environment, { __index = function(self, key) do -- cgit v1.2.3