Skip to content

Commit

Permalink
build: Do not use macro first on recent gauche
Browse files Browse the repository at this point in the history
Use CAR instead.
This macro usage caused compiler error on recent(0.9.5 or later) gauche.
  • Loading branch information
okuoku committed Oct 17, 2014
1 parent e64fd48 commit 9b694f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion boot/vm.scm
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
(VM code-c 0 vm-outer-closure 0 vm-outer-closure vstack 0)))

(define (apply-proc . args)
(let* ([proc (first args)]
(let* ([proc (car args)] ;; was:first
[args (cdr args)]
[adjusted_args (append
(take args (- (length args) 1))
Expand Down

0 comments on commit 9b694f8

Please sign in to comment.