1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-11 22:31:12 +02:00

*** empty log message ***

This commit is contained in:
Marius Vollmer 2004-09-23 17:58:07 +00:00
parent a47d845fd4
commit c9fedf8ada
3 changed files with 35 additions and 0 deletions

View file

@ -1,3 +1,9 @@
2004-09-23 Marius Vollmer <mvo@zagadka.de>
* boot-9.scm (handle-system-error): Pass rest argument to
display-backtrace for wrong-type-arg and out-of-range errors so
that the bad value gets highlighted.
2004-09-04 Kevin Ryde <user42@zip.com.au>
* streams.scm (stream-for-each-many): Correction, should recurse into

View file

@ -1,3 +1,27 @@
2004-09-23 Marius Vollmer <mvo@zagadka.de>
* print.h (scm_print_state): Added highlight_objects.
* print.c (make_print_state, scm_free_print_state): Initialize it
to SCM_EOL.
(scm_iprin1): Wrap output in '{...}' when object is contained in
highlight_objects.
* backtrace.h, backtrace.c (scm_display_backtrace_with_highlights,
scm_backtrace_with_highlights): New. Set highlight_objects of
printstate.
* error.c (scm_error_scm): Document new meaning of data/rest
argument for out-of-range and wrong-type-arg errors.
(scm_out_of_range, scm_out_of_range_pos, scm_wrong_type_arg,
scm_wrong_type_arg_msg): Pass bad_value in rest argument of
exception so that it gets highlighted in the backtrace.
Don't talk about "argument" when not giving a position.
* throw.c (handler_message): The rest argument is the fourth
argument, not everything after the third. Call
scm_display_backtrace_with_highlights, passing the rest argument
when appropriate.
2004-09-22 Marius Vollmer <mvo@zagadka.de>
From Jan Nieuwenhuizen <janneke@gnu.org> and Bruno Haible

View file

@ -1,3 +1,8 @@
2004-09-23 Marius Vollmer <mvo@zagadka.de>
* lib.scm (exception:out-of-range, exception:wrong-type-arg):
Accept new wording.
2004-09-22 Marius Vollmer <mvo@zagadka.de>
* tests/ports.test ("string ports"): Copy string literal so that