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.moon | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'parser.moon') diff --git a/parser.moon b/parser.moon index 5e37a59..1591161 100644 --- a/parser.moon +++ b/parser.moon @@ -115,7 +115,7 @@ Parser.parse = (nomsu_code, source=nil)-> source or= nomsu_code.source nomsu_code = tostring(nomsu_code) userdata = { - indent: "", errors: {}, :source, comments: {}, + indent: "", errors: {}, :source } tree = NOMSU_PATTERN\match(nomsu_code, nil, userdata) unless tree @@ -129,7 +129,6 @@ Parser.parse = (nomsu_code, source=nil)-> errors = [userdata.errors[k] for k in *keys] error("Errors occurred while parsing:\n\n"..table.concat(errors, "\n\n"), 0) - tree.comments = userdata.comments tree.version = userdata.version return tree -- cgit v1.2.3