Sat, 19 Sep 2015 21:43:57 +0100
parser: Remove old debug logging
scansion/parser.lua | file | annotate | diff | comparison | revisions |
--- a/scansion/parser.lua Sat Sep 19 21:43:35 2015 +0100 +++ b/scansion/parser.lua Sat Sep 19 21:43:57 2015 +0100 @@ -9,7 +9,6 @@ for line in data:gmatch("([^\r\n]+)\r?\n") do line_number = line_number + 1; - print(line_number, line); if line:sub(1,1) == "[" then local obj_type, name, extra = line:match("^%[(%a+)%] (.+)$"); @@ -22,7 +21,6 @@ defined_line = line_number; }; last_object = parsed.objects[name]; - print(("%q"):format(obj_type)) elseif line:match("^%s+%a+:.+$") then if not last_object then return nil, "Line "..line_number.. "unexpected outside of an object definition";