diff options
| author | Bruce Hill <bitbucket@bruce-hill.com> | 2017-10-20 15:10:04 -0700 |
|---|---|---|
| committer | Bruce Hill <bitbucket@bruce-hill.com> | 2017-10-20 15:10:04 -0700 |
| commit | c6819cf1e96f471ef0c278c2063a02ab429094fe (patch) | |
| tree | a00c3430112f8aa67f3bb1a0bf0931524e8ff18b /nomsu.moon | |
| parent | b909dce5d11e1b9ae15ae68ec8646e162c30b56d (diff) | |
More callstack fixin
Diffstat (limited to 'nomsu.moon')
| -rwxr-xr-x | nomsu.moon | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -584,7 +584,7 @@ end)]])\format(concat(lua_bits, "\n")) if msg @errorln(colored.bright colored.yellow colored.onred msg) @errorln("Callstack:") - maxlen = utils.max([#c[2] for c in *@callstack]) + maxlen = utils.max([#c[2] for c in *@callstack when c != "#macro"]) for i=#@callstack,1,-1 if @callstack[i] != "#macro" @errorln " #{"%-#{maxlen}s"\format @callstack[i][2]}| #{@callstack[i][1]}" |
