display-error takes a frame, shows source if possible
authorAndy Wingo <wingo@pobox.com>
Thu, 15 Jul 2010 10:11:34 +0000 (12:11 +0200)
committerAndy Wingo <wingo@pobox.com>
Thu, 15 Jul 2010 10:11:34 +0000 (12:11 +0200)
commit218d580ab46481f3a44ada1897bbe0ae8abf3e54
tree3f0f3ea5ec1f51b3fbc030562eb12657b185e59b
parentf4b879e03bf217f4114b2997c0bdbe1008daf874
display-error takes a frame, shows source if possible

* libguile/backtrace.h:
* libguile/backtrace.c (scm_display_error): Change "stack" arg to
  "frame". Still accept stacks for backward compatibility.
  (display_header, display_error_body): Show the source of the error, if
  possible.
libguile/backtrace.c
libguile/backtrace.h