projects
/
sbcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
1.0.3.46: De-pessimized x86 sub-byte DATA-VECTOR-SET/* VOPs.
[sbcl.git]
/
src
/
code
/
late-format.lisp
diff --git
a/src/code/late-format.lisp
b/src/code/late-format.lisp
index
4e262c0
..
7ed479b
100644
(file)
--- a/
src/code/late-format.lisp
+++ b/
src/code/late-format.lisp
@@
-78,7
+78,11
@@
((and block (char= char #\;) (format-directive-colonp directive))
(setf semicolon directive))
((char= char #\>)
((and block (char= char #\;) (format-directive-colonp directive))
(setf semicolon directive))
((char= char #\>)
- (aver block)
+ (unless block
+ (error 'format-error
+ :complaint "~~> without a matching ~~<"
+ :control-string string
+ :offset next-directive))
(cond
((format-directive-colonp directive)
(unless pprint
(cond
((format-directive-colonp directive)
(unless pprint
@@
-233,11
+237,13
@@
:offset ,(cdr arg)))
args))
(return `(lambda (stream &optional ,@args &rest args)
:offset ,(cdr arg)))
args))
(return `(lambda (stream &optional ,@args &rest args)
+ (declare (ignorable stream))
,guts
args))))
(let ((*orig-args-available* t)
(*only-simple-args* nil))
`(lambda (stream &rest orig-args)
,guts
args))))
(let ((*orig-args-available* t)
(*only-simple-args* nil))
`(lambda (stream &rest orig-args)
+ (declare (ignorable stream))
(let ((args orig-args))
,(expand-control-string control-string)
args)))))
(let ((args orig-args))
,(expand-control-string control-string)
args)))))