diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2017-02-20 00:05:36 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2017-02-20 00:05:36 -0800 |
commit | 5bea21e81ed516440e34e480f2c33ca41aa8c597 (patch) | |
tree | 653ace1b8fe0a9916d861d35ff8f611b46c80d37 /trace.scm | |
parent | 237c6e380aebdcbc70bd1c9ecf7d3f6effca2752 (diff) | |
download | slib-5bea21e81ed516440e34e480f2c33ca41aa8c597.tar.gz slib-5bea21e81ed516440e34e480f2c33ca41aa8c597.zip |
Import Upstream version 3a4upstream/3a4
Diffstat (limited to 'trace.scm')
-rw-r--r-- | trace.scm | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -71,12 +71,12 @@ (cdar debug:call-stack)) (cdr debug:call-stack)) (cons (list 1 name) debug:call-stack))) - (do ((i trace:indent (+ -1 i))) ((zero? i)) (display #\ )) + (do ((i trace:indent (+ -1 i))) ((zero? i)) (display #\space)) (apply qpn CALL name args) (set! trace:indent (modulo (+ 1 trace:indent) 16)) (let ((ans (apply function args))) (set! trace:indent (modulo (+ -1 trace:indent) 16)) - (do ((i trace:indent (+ -1 i))) ((zero? i)) (display #\ )) + (do ((i trace:indent (+ -1 i))) ((zero? i)) (display #\space)) (qpn RETN name ans) (set! debug:call-stack cs) ans))) |