allow definitions in with-syntax body
authorAndy Wingo <wingo@pobox.com>
Thu, 31 Mar 2011 11:23:27 +0000 (13:23 +0200)
committerAndy Wingo <wingo@pobox.com>
Thu, 31 Mar 2011 11:23:27 +0000 (13:23 +0200)
commitf929b9e5ec39391bee1d0ce256b59b0c610caa25
treec6afbebbfb268fcd853bd8c2566a628bf71e93e7
parent0f1fd214f184a998a3d8e1580b7acb9d02dc879b
allow definitions in with-syntax body

* module/ice-9/psyntax.scm (with-syntax): Allow definitions in the body,
  as seems to be suggested by the R6RS.

* test-suite/tests/syncase.test ("with-syntax"): Add test.

* module/ice-9/psyntax-pp.scm: Regenerate.
module/ice-9/psyntax-pp.scm
module/ice-9/psyntax.scm
test-suite/tests/syncase.test