Ticket #34: ticket34.patch
File ticket34.patch, 1.6 KB (added by , 16 years ago) |
---|
-
src/org/armedbear/lisp/compile-file.lisp
41 41 42 42 (declaim (ftype (function () t) next-classfile-name)) 43 43 (defun next-classfile-name () 44 (let ((name (%format nil "~A -~D"45 (substitute #\_ #\ . (pathname-name *output-file-pathname*))44 (let ((name (%format nil "~A_~D" 45 (substitute #\_ #\- (substitute #\_ #\. (pathname-name *output-file-pathname*))) 46 46 (incf *class-number*)))) 47 (namestring (merge-pathnames (make-pathname :name name :type "cl s")47 (namestring (merge-pathnames (make-pathname :name name :type "class") 48 48 *output-file-pathname*)))) 49 49 50 50 (defmacro report-error (&rest forms) … … 456 456 (let ((zipfile (concatenate 'string (namestring output-file) ".zip")) 457 457 (pathnames ())) 458 458 (dotimes (i *class-number*) 459 (let* ((file-namestring (%format nil "~A -~D.cls"460 (substitute #\_ #\ . (pathname-name output-file))459 (let* ((file-namestring (%format nil "~A_~D.class" 460 (substitute #\_ #\- (substitute #\_ #\. (pathname-name output-file))) 461 461 (1+ i))) 462 462 (pathname (merge-pathnames file-namestring output-file))) 463 463 (when (probe-file pathname)