1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-07-03 08:10:31 +02:00

top level fixes

(Best-ability ChangeLog annotation added by Christopher Allan 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 Christopher Allan Webber
parent 93b8b53c65
commit b5701278c9

View file

@ -830,14 +830,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))))))