aboutsummaryrefslogtreecommitdiff
path: root/src/interp/vmlisp.lisp.pamphlet
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2007-08-17 22:19:35 +0000
committerdos-reis <gdr@axiomatics.org>2007-08-17 22:19:35 +0000
commit2834ddbb6abbf9145b4c034e07e4b1e52aa3df2e (patch)
tree209cd34367d9fa87ea4d44d2aa2e8d774fb61a53 /src/interp/vmlisp.lisp.pamphlet
parent8e3c2cd706c32cbbfea90208cd232e4d64d1edc4 (diff)
downloadopen-axiom-2834ddbb6abbf9145b4c034e07e4b1e52aa3df2e.tar.gz
* vmlisp.lisp.pamphlet (define-function): Define in all situations.
* parsing.lisp.pamphlet: Import "bootfuns". * util.lisp.pamphlet: Import "vmlisp" and "parsing". * bootfuns.lisp.pamphlet: Add GCL-specific bug workaround. * Makefile.pamphlet (${DEPSYS}): Load "parsing" before "util". (util.$(FASLEXT)): Has parsing.$(FASLEXT) as prerequisite. (parsing.$(FASLEXT)): New rule. * Makefile.in: Regenerate.
Diffstat (limited to 'src/interp/vmlisp.lisp.pamphlet')
-rw-r--r--src/interp/vmlisp.lisp.pamphlet23
1 files changed, 12 insertions, 11 deletions
diff --git a/src/interp/vmlisp.lisp.pamphlet b/src/interp/vmlisp.lisp.pamphlet
index 9653d749..837ef55f 100644
--- a/src/interp/vmlisp.lisp.pamphlet
+++ b/src/interp/vmlisp.lisp.pamphlet
@@ -759,13 +759,11 @@ and works properly.
;; defuns
-#-(or :CCL (and :Lucid (not :rios)))
-(defun define-function (f v)
- (setf (symbol-function f) v))
-#+:CCL
-(defun define-function (f v)
- (setf (symbol-function f) v)
- (setf (get f 's:newname) v))
+(eval-when
+ #+:common-lisp (:compile-toplevel :load-toplevel :execute)
+ #-:common-lisp (compile load eval)
+ (defun define-function (f v)
+ (setf (symbol-function f) v)))
(define-function 'tempus-fugit #'get-internal-run-time)
@@ -1030,10 +1028,13 @@ and works properly.
nil
(cons (cons (first x) (second x)) (plist2alist (cddr x)))))
-#-:CCL
-(defun put (sym ind val) (setf (get sym ind) val))
-
-(define-function 'MAKEPROP #'put)
+(eval-when
+ #+:common-lisp (:compile-toplevel :load-toplevel :execute)
+ #-:common-lisp (compile load eval)
+ (progn
+ (defun put (sym ind val) (setf (get sym ind) val))
+
+ (define-function 'MAKEPROP #'put)))
; 12.0 Operations on Numbers