chiark
/
gitweb
/
~mdw
/
zone
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
884a01f
)
frontend: Use a temporary package rather than one with a funny name.
author
Mark Wooding
<mdw@distorted.org.uk>
Wed, 17 May 2006 18:57:55 +0000
(19:57 +0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Wed, 17 May 2006 18:57:55 +0000
(19:57 +0100)
frontend.lisp
patch
|
blob
|
blame
|
history
diff --git
a/frontend.lisp
b/frontend.lisp
index 161e16d1ec10c94d236fa987660d788476792504..5aaadf532c896184e4a3ec320bf1b710634e839b 100644
(file)
--- a/
frontend.lisp
+++ b/
frontend.lisp
@@
-41,8
+41,7
@@
(define-program
(defun main ()
(with-unix-error-reporting ()
(defun main ()
(with-unix-error-reporting ()
- (let ((seq 54)
- (files nil))
+ (let ((files nil))
(unless (option-parse-try
(do-options ()
(nil (rest)
(unless (option-parse-try
(do-options ()
(nil (rest)
@@
-51,10
+50,10
@@
(defun main ()
(setf files rest))))
(die-usage))
(dolist (f files)
(setf files rest))))
(die-usage))
(dolist (f files)
- (let ((*package* (make-package (format nil "zone.scratch-~A"
- (incf seq))
+ (let ((*package* (make-package "ZONE.SCRATCH"
:use '(#:common-lisp #:net #:zone))))
:use '(#:common-lisp #:net #:zone))))
- (load f :verbose nil :print nil :if-does-not-exist :error)))
+ (load f :verbose nil :print nil :if-does-not-exist :error)
+ (delete-package *package*)))
(zone-save opt-zones))))
;;;----- That's all, folks --------------------------------------------------
(zone-save opt-zones))))
;;;----- That's all, folks --------------------------------------------------