CMUCL commit: src/code (reader.lisp)
Raymond Toy
rtoy at common-lisp.net
Fri Feb 5 19:14:37 CET 2010
Date: Friday, February 5, 2010 @ 13:14:37
Author: rtoy
Path: /project/cmucl/cvsroot/src/code
Modified: reader.lisp
GET-MACRO-CHARACTER was using the wrong readtable when figuring out
the second return value; it always used *READTABLE* instead of the
given readtable.
-------------+
reader.lisp | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
Index: src/code/reader.lisp
diff -u src/code/reader.lisp:1.63 src/code/reader.lisp:1.64
--- src/code/reader.lisp:1.63 Thu Jun 11 12:03:59 2009
+++ src/code/reader.lisp Fri Feb 5 13:14:36 2010
@@ -5,7 +5,7 @@
;;; Carnegie Mellon University, and has been placed in the public domain.
;;;
(ext:file-comment
- "$Header: /project/cmucl/cvsroot/src/code/reader.lisp,v 1.63 2009-06-11 16:03:59 rtoy Rel $")
+ "$Header: /project/cmucl/cvsroot/src/code/reader.lisp,v 1.64 2010-02-05 18:14:36 rtoy Exp $")
;;;
;;; **********************************************************************
;;;
@@ -543,9 +543,9 @@
(let ((rt (or rt std-lisp-readtable)))
;; Check macro syntax, return associated function if it's there.
;; Returns a value for all constituents.
- (cond ((constituentp char)
+ (cond ((constituentp char rt)
(values (get-cmt-entry char rt) t))
- ((terminating-macrop char)
+ ((terminating-macrop char rt)
(values (get-cmt-entry char rt) nil))
(t nil))))
More information about the cmucl-commit
mailing list