aboutsummaryrefslogtreecommitdiff
path: root/nomsu_compiler.lua
diff options
context:
space:
mode:
Diffstat (limited to 'nomsu_compiler.lua')
-rw-r--r--nomsu_compiler.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/nomsu_compiler.lua b/nomsu_compiler.lua
index 42b1a1d..56bd1e8 100644
--- a/nomsu_compiler.lua
+++ b/nomsu_compiler.lua
@@ -158,7 +158,7 @@ local NomsuCompiler = setmetatable({ }, {
end
})
do
- NomsuCompiler.NOMSU_COMPILER_VERSION = 4
+ NomsuCompiler.NOMSU_COMPILER_VERSION = 5
NomsuCompiler.NOMSU_SYNTAX_VERSION = Parser.version
NomsuCompiler._ENV = NomsuCompiler
NomsuCompiler.nomsu = NomsuCompiler
@@ -454,7 +454,7 @@ do
if not (ran_lua) then
local file = Files.read(filename)
if not file then
- error("File does not exist: " .. tostring(filename), 0)
+ error("Tried to run file that does not exist: " .. tostring(filename))
end
ret = self:run(file, Source(filename, 1, #file))
end