*** empty log message ***
authorMarius Vollmer <mvo@zagadka.de>
Thu, 23 Sep 2004 17:58:07 +0000 (17:58 +0000)
committerMarius Vollmer <mvo@zagadka.de>
Thu, 23 Sep 2004 17:58:07 +0000 (17:58 +0000)
ice-9/ChangeLog
libguile/ChangeLog
test-suite/ChangeLog

index 1df1d0f..f6864b4 100644 (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
index bd90070..e321976 100644 (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
index ff5a18c..74c922a 100644 (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