X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=tests%2Freader.impure.lisp;h=8b60a5ded2ebd3f5e1598e90aab952f3a33c4c4c;hb=ebc0f0ebf9efd39519ab86ba28c33abdb25443e0;hp=3a9507ad843450a860a15ada4e2629e2c0b82ab9;hpb=4898ef32c639b1c7f4ee13a5ba566ce6debd03e6;p=sbcl.git diff --git a/tests/reader.impure.lisp b/tests/reader.impure.lisp index 3a9507a..8b60a5d 100644 --- a/tests/reader.impure.lisp +++ b/tests/reader.impure.lisp @@ -102,5 +102,11 @@ (assert (eq 'a (read (make-instance 'my-in-stream :last-char nil)))) +;;; NIL as the last argument to SET-SYNTAX-FROM-CHAR in compiled code, +;;; reported by Levente Mészáros +(let ((fun (compile nil '(lambda () + (set-syntax-from-char #\{ #\( *readtable* nil))))) + (funcall fun) + (assert (equal '(:ok) (read-from-string "{:ok)")))) + ;;; success -(quit :unix-status 104)