simplify one kind of degenerate prompt
[bpt/guile.git] / module / language / scheme / compile-tree-il.scm
index 5d01a26..d9d2d7a 100644 (file)
@@ -1,6 +1,6 @@
 ;;; Guile Scheme specification
 
-;; Copyright (C) 2001, 2009 Free Software Foundation, Inc.
+;; Copyright (C) 2001, 2009, 2010 Free Software Foundation, Inc.
 
 ;;;; This library is free software; you can redistribute it and/or
 ;;;; modify it under the terms of the GNU Lesser General Public
   #:use-module (language tree-il)
   #:export (compile-tree-il))
 
-;;; environment := #f
-;;;                | MODULE
+;;; environment := MODULE
 
 (define (compile-tree-il x e opts)
   (save-module-excursion
    (lambda ()
      (set-current-module e)
-     (let* ((x (sc-expand x 'c '(compile load eval)))
+     (let* ((x (macroexpand x 'c '(compile load eval)))
             (cenv (current-module)))
        (values x cenv cenv)))))