1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-04-30 03:40:34 +02:00

top level fixes

(Best-ability ChangeLog annotation added by Christine Lemmer-Webber.)

* module/language/elisp/compile-tree-il.scm (compile-pair): Use
  compile-expr-1 instead of compile-expr.
This commit is contained in:
Robin Templeton 2014-08-11 06:05:26 -04:00 committed by Christine Lemmer-Webber
parent 31761a6221
commit 49c845c912
No known key found for this signature in database
GPG key ID: 4BC025925FF8F4D3

View file

@ -836,14 +836,14 @@
(special-operator-function loc arguments)))
((find-operator operator 'macro)
=> (lambda (macro-function)
(compile-expr (apply macro-function arguments))))
(compile-expr-1 (apply macro-function arguments))))
((and (symbol? operator)
(eget operator '%compiler-macro))
=> (lambda (compiler-macro-function)
(let ((new (compiler-macro-function expr)))
(if (eq? new expr)
(compile-expr `(%funcall (%function ,operator) ,@arguments))
(compile-expr new)))))
(compile-expr-1 new)))))
(else
(compile-expr `(%funcall (%function ,operator) ,@arguments))))))