[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: In 17.7, . . .
- To: AGRE at MIT-AI
- Subject: Re: In 17.7, . . .
- From: MOON@MIT-MC
- Date: Sun ,20 Aug 79 09:05:24 EDT
CC: (BUG LISPM) at MIT-MC
AGRE@MIT-AI 08/20/79 19:26:16 Re: In 17.7, . . .
To: (BUG LISPM) at MIT-AI
QC-FILE seems to have a very random bug which, as close as I can tell, goes
like so: when the input file to QC-FILE has a readmacro character in it,
e.g., as in (MATCH '(?X Y Z) ARG) where "?" has been defined by
(SET-SYNTAX-MACRO-CHAR #/? #'(LAMBDA (X Y) (LIST '/? (READ X Y)))),
This is your bug. The arguments to reader macros are the list read so far,
or a symbol which is a flag, and the stream to read from. You should be
doing (READ Y) not (READ X Y).