-
Committer:
Patrick Bernaud
-
Date:
2012-07-01 07:27:01 UTC
-
mto:
This revision was merged to the branch mainline in
revision
78.
-
Revision ID:
patrickb@chez.com-20120701072701-fxlufo9gzv2imz1q
Catch exceptions from action callbacks and report them as errors.
* guile-pcb/guile-pcb-action.c (guile_action_trigger_cb): Tweak for a
catch on any exceptions from callback procedure.
(trigger_cb_handler): Adapt the error formatting for any error.
* pcb/action.scm:
* doc/action.texi: Update documentation of register-action.
* tests/action.test:
* examples/print-assembly.scm: Update for new error reporting.