From e22e1073905781557068140ded06c63f91738ad8 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Mon, 4 Jun 2018 23:02:09 -0700 Subject: [PATCH] Minor tidying. --- nomsu.moon | 1 - 1 file changed, 1 deletion(-) diff --git a/nomsu.moon b/nomsu.moon index c2271ee..ddb29c3 100755 --- a/nomsu.moon +++ b/nomsu.moon @@ -407,7 +407,6 @@ class NomsuCompiler src ..= colored.underscore colored.bright colored.red(file\sub(tok.source.start, tok.source.stop-1)) end_of_line = (LINE_STARTS[file][pos_to_line(file, tok.source.stop) + 1] or 0) - 1 src ..= colored.dim(file\sub(tok.source.stop, end_of_line-1)) - --src = ' '..tostring(@tree_to_nomsu(tok))\gsub('\n','\n ') src = ' '..src\gsub('\n', '\n ') err_msg = fn(src) error("#{tok.source.filename}:#{line_no}: "..err_msg, 0)