diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2018-10-30 19:50:15 -0700 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2018-10-30 19:50:20 -0700 |
| commit | fdf7a537c8ae13fc7ccb32278e5e364a52005443 (patch) | |
| tree | 9bd4cef036c4c9cc60c4bb2bf96c6a84d425b529 /nomsu_compiler.lua | |
| parent | 8515a874271401927210e100b6dc0299c6afd0bf (diff) | |
Versioning fixes.
Diffstat (limited to 'nomsu_compiler.lua')
| -rw-r--r-- | nomsu_compiler.lua | 5 |
1 files changed, 1 insertions, 4 deletions
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 |
