From 0f478fd4bc883675aab83c049df099281232e580 Mon Sep 17 00:00:00 2001 From: Christophe Rhodes Date: Thu, 28 Oct 2004 17:07:16 +0000 Subject: [PATCH] 0.8.16.12: Deal with oversight of ~~ directive in compile-time checking. (Bruno Haible cmucl-imp 2004-10-28) --- NEWS | 2 ++ src/code/late-format.lisp | 2 +- tests/compiler.test.sh | 9 +++++++++ version.lisp-expr | 2 +- 4 files changed, 13 insertions(+), 2 deletions(-) diff --git a/NEWS b/NEWS index b12970f..e880cfa 100644 --- a/NEWS +++ b/NEWS @@ -23,6 +23,8 @@ changes in sbcl-0.8.17 relative to sbcl-0.8.16: name conflict situations in CLHS 11.1.1.2.5, and provide a restart permitting resolution in favour of any of the conflicting symbols. (reported by Bruno Haible for CMUCL) + * FORMAT compile-time argument count checking has been enhanced. + (report from Bruno Haible for CMUCL) * fixed some bugs revealed by Paul Dietz' test suite: ** RENAME-PACKAGE allows all package designators as new package names. diff --git a/src/code/late-format.lisp b/src/code/late-format.lisp index 6c42925..4f058c0 100644 --- a/src/code/late-format.lisp +++ b/src/code/late-format.lisp @@ -1374,7 +1374,7 @@ ((char= c #\P) (unless (format-directive-colonp directive) (incf-both))) - ((or (find c "IT%&|_();>") (char= c #\Newline))) + ((or (find c "IT%&|_();>~") (char= c #\Newline))) ;; FIXME: check correspondence of ~( and ~) ((char= c #\<) (walk-complex-directive walk-justification)) diff --git a/tests/compiler.test.sh b/tests/compiler.test.sh index dca23a0..de4512d 100644 --- a/tests/compiler.test.sh +++ b/tests/compiler.test.sh @@ -286,6 +286,15 @@ cat > $tmpfilename < $tmpfilename <