From 3c8d0c0ac586493300c3ecf0460c5c0436e77ab0 Mon Sep 17 00:00:00 2001 From: rtoy <rtoy> Date: Fri, 5 Feb 2010 18:14:36 +0000 Subject: [PATCH] GET-MACRO-CHARACTER was using the wrong readtable when figuring out the second return value; it always used *READTABLE* instead of the given readtable. --- code/reader.lisp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/code/reader.lisp b/code/reader.lisp index 4192de4f3..c8c6482a6 100644 --- a/code/reader.lisp +++ b/code/reader.lisp @@ -5,7 +5,7 @@ ;;; Carnegie Mellon University, and has been placed in the public domain. ;;; (ext:file-comment - "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/reader.lisp,v 1.63 2009/06/11 16:03:59 rtoy Rel $") + "$Header: /Volumes/share2/src/cmucl/cvs2git/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)))) -- GitLab