[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
"(FOO . #)", where # is splicing macro
- To: (BUG LISP) at MIT-MC
- Subject: "(FOO . #)", where # is splicing macro
- From: JONL at MIT-MC (Jon L White)
- Date: Tue, 9 Jan 79 09:00:00 GMT
- Cc: alan at MIT-AI
- Original-date: 9 JAN 1979 0400-EST
1) The bug whereby "(FOO . )" produces "(FOO . #51)", or
whereby "(FOO . #)" with # a splicing macro returning ()
produces the same lossage, is fixed by inserting at RDLST4
JUMPE T,ER2
2) The bug whereby "(FOO . #)" produces "(FOO BAR . #51)", where # is
a splicing macro returning "(BAR)", is fixed by replacing the two
lines at RDLS4A+4,5 with
HRRZ AR2A,(A)
JUMPE AR2A,ER2
HLRZ AR2A,(A)
HRRM A,(TT)
JRST RDLS4B
This will cause the example to produce "(FOO . BAR)" in accord with
ALAN's expectations.
***HOWEVER***, I'm not 100% sure that having splicing macros returning
lists of length longer than one can be ruled out - maybe there was a
long-lost "feature" that made "(FOO . #)" somewhat equivalent to
"(FOO #)" in that case. Lose, lose. Anyway, I've edited in these
changes to the reader.