diff options
| author | Bruce Hill <bitbucket@bruce-hill.com> | 2018-06-19 02:00:52 -0700 |
|---|---|---|
| committer | Bruce Hill <bitbucket@bruce-hill.com> | 2018-06-19 02:00:59 -0700 |
| commit | 7deed5af411689f198ebec5338476a563cb7ef28 (patch) | |
| tree | 6d74966b48666a64337977dcc6a6a5e6a40f0cbf /parser.lua | |
| parent | 59c79bdf57ce31d5f2fe15dbbdcc6ff345adc651 (diff) | |
Fixing up some error reporting
Diffstat (limited to 'parser.lua')
| -rw-r--r-- | parser.lua | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -162,7 +162,8 @@ parse = function(nomsu_code, source) end errors = _accum_0 end - error(table.concat(errors, "\n\n"), 0) + io.stderr:write("Errors occurred while parsing:\n\n", table.concat(errors, "\n\n"), '\n') + os.exit(1) end return tree end |
