PRINTDEPTHLIMIT off by one
jasonsikes opened this issue · 1 comments
jasonsikes commented
When PRINTDEPTHLIMIT is set to zero, nothing should be printed. No brackets or braces.
make "printdepthlimit 0
show "hello
show [this is a test]
show {this is a test}
Should result in:
...
...
...
Similarly:
make "printdepthlimit 1
show [[[] [] []]]
show [this is a test]
show {this is a test}
show [[this is a test]]
show {{this is a test}}
should result in:
[...]
[... ... ... ...]
{... ... ... ...}
[...]
{...}
jasonsikes commented
This is a minor issue, and I think the current implementation is suitable. e.g.
? make "printdepthlimit 1
? show [this is a test]
[... ... ... ...]