From 0fd3d1f2b98e8ef861b2f4c12cb471d1a151594d Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Thu, 12 Jul 2018 21:42:09 -0700 Subject: Fixing up comments, slowly. --- parser.lua | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'parser.lua') diff --git a/parser.lua b/parser.lua index 5f766b9..979a29f 100644 --- a/parser.lua +++ b/parser.lua @@ -193,8 +193,7 @@ Parser.parse = function(nomsu_code, source) local userdata = { indent = "", errors = { }, - source = source, - comments = { } + source = source } local tree = NOMSU_PATTERN:match(nomsu_code, nil, userdata) if not (tree) then @@ -228,7 +227,6 @@ Parser.parse = function(nomsu_code, source) end error("Errors occurred while parsing:\n\n" .. table.concat(errors, "\n\n"), 0) end - tree.comments = userdata.comments tree.version = userdata.version return tree end -- cgit v1.2.3