projects
/
jscl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix MAP-FOR-IN access.
[jscl.git]
/
src
/
boot.lisp
diff --git
a/src/boot.lisp
b/src/boot.lisp
index
f5fd74e
..
3541b23
100644
(file)
--- a/
src/boot.lisp
+++ b/
src/boot.lisp
@@
-22,6
+22,8
@@
;;; Lisp world from scratch. This code has to define enough language
;;; to the compiler to be able to run.
;;; Lisp world from scratch. This code has to define enough language
;;; to the compiler to be able to run.
+(/debug "loading boot.lisp!")
+
(eval-when-compile
(let ((defmacro-macroexpander
'#'(lambda (form)
(eval-when-compile
(let ((defmacro-macroexpander
'#'(lambda (form)
@@
-495,7
+497,7
@@
(cond
,@(mapcar (lambda (c)
(if (eq (car c) t)
(cond
,@(mapcar (lambda (c)
(if (eq (car c) t)
- `((t ,@(rest c)))
+ `(t ,@(rest c))
`((,(ecase (car c)
(integer 'integerp)
(cons 'consp)
`((,(ecase (car c)
(integer 'integerp)
(cons 'consp)
@@
-540,3
+542,8
@@
(defun error (fmt &rest args)
(%throw (apply #'format nil fmt args)))
(defun error (fmt &rest args)
(%throw (apply #'format nil fmt args)))
+
+(defmacro nth-value (n form)
+ `(multiple-value-call (lambda (&rest values)
+ (nth ,n values))
+ ,form))