Skip to content

Commit

Permalink
Return an actual value instead of whatever set! returns (#63)
Browse files Browse the repository at this point in the history
Don't use `set!` as the last statement, but instead return (some arbitrary) value.
  • Loading branch information
jobol authored Oct 17, 2022
1 parent b475dd8 commit 845345f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/compiler.scm
Original file line number Diff line number Diff line change
Expand Up @@ -6985,7 +6985,8 @@
(define asm-line '())
(define (asm-open-output-file filename)
(set! asm-output '())
(set! asm-line '()))
(set! asm-line '())
filename)
(define (asm-close-output-port asm-port) #f)
(define (asm-newline asm-port) (asm-display char-newline asm-port))
(define (asm-display obj asm-port)
Expand Down

0 comments on commit 845345f

Please sign in to comment.