only ensure local vars for definitions during expansion when compiling
authorAndy Wingo <wingo@pobox.com>
Mon, 3 May 2010 20:06:44 +0000 (22:06 +0200)
committerAndy Wingo <wingo@pobox.com>
Mon, 3 May 2010 20:11:15 +0000 (22:11 +0200)
commitfe58ead4a33c9f12e83a09962b926271d68031a4
tree56c75d28fbae5217e0e0ca0095f81e9608ca1dd8
parentd61517239da142bafae2d656d82b3af599cac1ee
only ensure local vars for definitions during expansion when compiling

* module/ice-9/psyntax.scm (chi-top): Only modify the compile-time
  environment to indicate that there is a local binding if we are
  running in compile mode. Otherwise some eval-when things might not
  have gotten executed, and our current-module could be wrong.

* module/ice-9/psyntax-pp.scm: Regenerate.
module/ice-9/psyntax-pp.scm
module/ice-9/psyntax.scm