fix compilation of glil to assembly
authorAndy Wingo <wingo@pobox.com>
Tue, 22 Jan 2013 08:19:39 +0000 (09:19 +0100)
committerAndy Wingo <wingo@pobox.com>
Tue, 22 Jan 2013 08:19:55 +0000 (09:19 +0100)
commit776491caa2802c990aa0c25415dbbc4b7c368c7b
treeec41de84c7ec5fb48b03acaf9d26069811fa847c
parent170410b607b5ea2b935dbb656c844b86720bf1ec
fix compilation of glil to assembly

* libguile/vm-i-scheme.c (VM_VALIDATE_STRUCT): Fix the error message if
  the value was not a struct.

* module/system/base/compile.scm (find-language-joint): Default to
  joining at the target language.
  (default-language-joiner): Allow sequences of one compiled expression
  to pass through.  Otherwise error as before.
  (read-and-parse): New helper; actually parses.
  (read-and-compile): Use read-and-parse, and fall back to
  default-language-joiner.

Thanks to Nala Ginrut for the report.
libguile/vm-i-scheme.c
module/system/base/compile.scm