some work on syntax.test
authorAndy Wingo <wingo@pobox.com>
Thu, 21 May 2009 20:43:07 +0000 (22:43 +0200)
committerAndy Wingo <wingo@pobox.com>
Thu, 21 May 2009 20:43:07 +0000 (22:43 +0200)
commit0260421208267eb202f9c9628cdaf39b531a5129
tree634b1a6a49dc6f7de0efc4bbd440ed763aaa18a6
parent40b36cfbbe4676f52bd4d6b45ae1642756642907
some work on syntax.test

* module/language/tree-il.scm (tree-il->scheme):
* module/ice-9/psyntax.scm (build-conditional): Attempt to not generate
  (if #f #f) as the second arm of an if, but it doesn't seem to be
  successful.

* module/ice-9/psyntax-pp.scm (syntax-rules): Regenerate.

* test-suite/tests/syntax.test (exception:unexpected-syntax): Change
  capitalization.
  ("unquote-splicing"): Update test.
  ("begin"): Add in second arms on these ifs, to avoid the strange though
  harmless expansion of `if'.
  (matches?): New helper macro.
  ("lambda"): Match on lexically bound symbols, as they will be
  alpha-renamed.
module/ice-9/psyntax-pp.scm
module/ice-9/psyntax.scm
module/language/tree-il.scm
test-suite/tests/syntax.test