forked from Clozure/ccl
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
define-compiler-macro: handle funcall
Tries to fix Clozure#389. Based on a suggestion from pjb. * lib/level-2.lisp: (parse-macro-2): new. like parse-macro-internal but only for expanding compiler macros, and special cases the CLHS funcall case. * compiler/nx0.lisp: define-compiler-macro: use (parse-macro-2). CLHS define-compiler-macro - Example 5 http://www.lispworks.com/documentation/HyperSpec/Body/m_define.htm requires (funcall (compiler-macro-function 'square) '(funcall #'square x) nil) to be supported.
- Loading branch information
Madhu
committed
Nov 28, 2021
1 parent
e7552a5
commit af3ad76
Showing
2 changed files
with
40 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters