diff options
| author | Bruce Hill <bitbucket@bruce-hill.com> | 2018-07-12 21:42:09 -0700 |
|---|---|---|
| committer | Bruce Hill <bitbucket@bruce-hill.com> | 2018-07-12 21:42:16 -0700 |
| commit | 0fd3d1f2b98e8ef861b2f4c12cb471d1a151594d (patch) | |
| tree | e02a64d830027aa07097ce6c5d275478c406c76d /parser.moon | |
| parent | af62e3e8bf2794048e7c20fc16fabd8c4726961e (diff) | |
Fixing up comments, slowly.
Diffstat (limited to 'parser.moon')
| -rw-r--r-- | parser.moon | 3 |
1 files changed, 1 insertions, 2 deletions
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 |
