aboutsummaryrefslogtreecommitdiff
path: root/nomsu.moon
diff options
context:
space:
mode:
authorBruce Hill <bitbucket@bruce-hill.com>2018-01-11 18:48:43 -0800
committerBruce Hill <bitbucket@bruce-hill.com>2018-01-11 18:48:43 -0800
commit06bf76f818382cdd33816073866f3cfd41609597 (patch)
treef5a94d3cf844f218514b9b51a747075d72248d60 /nomsu.moon
parent48b27d4b1ac2c39cbbc19af6600ca1ac28ac8be3 (diff)
Truncated debug output for readability.
Diffstat (limited to 'nomsu.moon')
-rwxr-xr-xnomsu.moon2
1 files changed, 1 insertions, 1 deletions
diff --git a/nomsu.moon b/nomsu.moon
index 45ac3c6..c37f8e0 100755
--- a/nomsu.moon
+++ b/nomsu.moon
@@ -526,7 +526,7 @@ end]]\format(lua_code))
args = [arg for arg in *tree.value when arg.type != "Word"]
if @debug
@write "#{colored.bright "RUNNING MACRO"} #{colored.underscore colored.magenta(tree.stub)} "
- @writeln "#{colored.bright "WITH ARGS:"} #{colored.dim repr args}"
+ @writeln "#{colored.bright "WITH ARGS:"} #{colored.dim repr [(repr a)\sub(1,50) for a in *args]}"
lua = @defs[tree.stub].fn(self, unpack(args))
remove @compilestack
return lua