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.lua | |
| parent | af62e3e8bf2794048e7c20fc16fabd8c4726961e (diff) | |
Fixing up comments, slowly.
Diffstat (limited to 'parser.lua')
| -rw-r--r-- | parser.lua | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -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 |
