failing to load module in psyntax indicates an identifier is not macro
authorAndy Wingo <wingo@igalia.com>
Tue, 12 Mar 2013 21:07:50 +0000 (22:07 +0100)
committerAndy Wingo <wingo@pobox.com>
Wed, 13 Mar 2013 09:04:47 +0000 (10:04 +0100)
commitdfd1d3b144d97522b2a4e82dc583a43e0b4f8b93
tree08ca708e13002c4f61751ccca0346f3fb5f3deb6
parent24475b860b02880b1cfdf4e03f9659a8af09eb72
failing to load module in psyntax indicates an identifier is not macro

* module/ice-9/boot-9.scm (false-if-exception): Add optional #:warning
  TEMPLATE ARG... tail, which indicates that we should print a warning
  on failure.
  (load-in-vicinity): Use the new #:warning.
  (make-autoload-interface): Surround the bits that load modules with a
  false-if-exception with #:warning.  Fixes
  http://debbugs.gnu.org/cgi/bugreport.cgi?bug=12202.

* test-suite/tests/syncase.test ("missing autoloads do not foil
  psyntax"): Add a test.
module/ice-9/boot-9.scm
test-suite/tests/syncase.test