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:
Mikael Djurfeldt 1996-10-17 23:43:30 +00:00
parent 1c6cd8e85e
commit 1bb961a353
2 changed files with 39 additions and 0 deletions

View file

@ -1,3 +1,15 @@
Fri Oct 18 01:03:08 1996 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
* boot-9.scm (handle-system-error): Added hooks before-error-hook,
after-error-hook, before-backtrace-hook and after-backtrace-hook
to the error handler. E.g.: fancy emacs support could plug into
these.
(save-stack): New function. The stack is now made differently
depending on the stack id. (The motivation is to make a better
choice regarding what stack frames to present to the user.)
(error-catching-loop): Stack handling code moved outside into
save-stack.
Thu Oct 17 20:33:08 1996 Gary Houston <ghouston@actrix.gen.nz>
* Makefile.in (scm_files): add expect.scm.

View file

@ -1,3 +1,30 @@
Fri Oct 18 01:11:56 1996 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
* stacks.c: Improve selection of relevant stack frames when making
a stack object. Introduce one level of indirection in the stack
object to make it possible to "narrow" to a certain region of the
stack. This facilitates making use of more clever algorithms (not
implemented) for selecting relevant frames and gives a cleaner
design since selection of frames can be done independently of
extraction of frames from the real stack.
(scm_stack_id): Also take #t as argument which means look at
current stack.
* stacks.h: In struct scm_stack: Turn field frames into a pointer.
Turn n_tail into an integer directly representing current number
of frames in stack. Add field tail.
* ports.c (scm_port_line_x, scm_port_column_x): New mutators.
* debug.c (scm_make_memoized): Made it available at scheme level.
(scm_unmemoize, scm_memoized_environment): Bugfix: Check for
SCM_NIMP before applying heavier predicates in argument checking.
(scm_local_eval): Also take memoized object as argument.
* backtrace.c (scm_display_error): Just a safety measure: Stacks
aren't created with zero length, but should such a strange
creature suddenly turn up...
Tue Oct 15 17:06:13 1996 Jim Blandy <jimb@floss.cyclic.com>
* variable.c (scm_make_variable): Make the name hint optional, as