projects
/
jscl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a4ea8ce
)
WARN should accept FORMAT-like arguments.
author
Olof-Joachim Frahm
<olof@macrolet.net>
Wed, 21 Aug 2013 18:03:51 +0000
(20:03 +0200)
committer
Olof-Joachim Frahm
<olof@macrolet.net>
Thu, 29 Aug 2013 10:48:41 +0000
(12:48 +0200)
src/print.lisp
patch
|
blob
|
history
diff --git
a/src/print.lisp
b/src/print.lisp
index
a540357
..
004b540
100644
(file)
--- a/
src/print.lisp
+++ b/
src/print.lisp
@@
-266,9
+266,10
@@
(terpri)
x)
-(defun warn (string)
+(defun warn (fmt &rest args)
(write-string "WARNING: ")
- (write-line string))
+ (apply #'format t fmt args)
+ (terpri))
(defun print (x)
(write-line (prin1-to-string x))