Changeset 15480
- Timestamp:
- 11/03/20 07:40:42 (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abcl/src/org/armedbear/lisp/compile-file-pathname.lisp
r11391 r15480 32 32 (in-package #:system) 33 33 34 ;; Adapted from SBCL. 35 (defun cfp-output-file-default (input-file) 36 (let* ((defaults (merge-pathnames input-file *default-pathname-defaults*))37 (retyped (make-pathname :type *compile-file-type* :defaults defaults)))38 retyped))34 (defun compile-file-pathname (input-file &key output-file &allow-other-keys) 35 (let ((defaults (make-pathname :type *compile-file-type* 36 :defaults (merge-pathnames input-file)))) 37 (cond ((null output-file) defaults) 38 (t (merge-pathnames output-file defaults))))) 39 39 40 (defun compile-file-pathname (input-file41 &key42 (output-file (cfp-output-file-default43 input-file))44 &allow-other-keys)45 (merge-pathnames output-file (merge-pathnames input-file) nil))
Note: See TracChangeset
for help on using the changeset viewer.