[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
DEFMACRO-DISPLACE
- To: GJS at MIT-MC
- Subject: DEFMACRO-DISPLACE
- From: JONL at MIT-MC (Jon L White)
- Date: Fri, 30 Jan 81 15:46:00 GMT
- Cc: (BUG LISP) at MIT-MC
- Original-date: 30 JAN 1981 1046-EST
Date: 28 January 1981 23:18-EST
From: Gerald Jay Sussman <GJS at MIT-AI>
(defmacro-displace foo (x) (list x 'y)) generates bad expr code:
(lambda (foo-macroarg) (comment ...) displace foo-macroarg ...)
missing parens around the displace.
Yes, how embarrassing. I've just fixed it now.
Note that the macro code will work ok -- it just wont displace.
Remember also that using DEFMACRO with default options, instead of
DEFMACRO-DISPLACE, gives you the capability of deciding at runtime
what to do about DISPLACEment.