Mikael Djurfeldt
d14af9f2d3
* ports.c, ports.h: Name change: scm_\(line\|column\)_number -->
...
scm_port_\1; Added mutator scm_set_port_filename_x (used when
loading source from non-file ports, which, e. g., happens when
using the Emacs interface).
1996-09-18 19:34:58 +00:00
Mikael Djurfeldt
a0fcb30863
* options.c: Documentation fixes.
1996-09-18 19:34:14 +00:00
Mikael Djurfeldt
65fddfc000
* gdbint.c: scm_lread now has one more argument.
1996-09-18 19:33:58 +00:00
Mikael Djurfeldt
96937708a9
* fports.c (scm_open_file): Don't call scm_makfrom0str on a scheme
...
object.
1996-09-18 19:33:43 +00:00
Mikael Djurfeldt
ac46ab165a
* eval.c: Added #include "hash.h"
1996-09-18 19:33:22 +00:00
Mikael Djurfeldt
f23641a9d3
* eq.c: Added #include "ramap.h"
1996-09-18 19:32:40 +00:00
Mikael Djurfeldt
7dd604b948
*** empty log message ***
1996-09-18 19:32:24 +00:00
Gary Houston
ebf7394e72
* ports.h (scm_port_table): put back file_name, it will be used to
...
support debugging. Undo related changes in fports.c, ioext.c,
ports.c, gc.c.
1996-09-17 02:09:50 +00:00
Gary Houston
19639113d1
* ports.h (scm_port_table): remove file_name member for now, it seems
...
undesirable.
* fports.c (scm_open_file): don't set file_name in PTAB.
(prinfport): don't use file_name in PTAB.
* ioext.c (scm_sys_duplicate_port): don't set file_name in PTAB.
* ports.c (scm_add_to_port_table): don't intialize file_name.
(scm_port_file_name): remove for now.
* gc.c (scm_gc_mark): don't mark PTAB file_name.
* fports.h (scm_mkfile): prototype deleted.
* fports.c (scm_mkfile): merged into scm_open_file to simplify.
1996-09-16 03:32:26 +00:00
Gary Houston
52859adfb9
* debug.c, unif.c: use scm_out_of_range instead of
...
wta for range errors (ASSERT still needs work).
* error.c, error.h (scm_out_of_range): new procedure.
* error.c, error.h (scm_out_of_range_key): new key.
* posix.c (scm_sync): #else was missing.
* error.c, error.h: append _key to names scm_num_overflow and
scm_system_error.
* __scm.h (SCM_SYSMISSING, SCM_NUM_OVERFLOW): use SCM_BOOL_F instead
of consing an empty list.
(SCM_SYSERROR etc.): move into error.c, make them procedures instead
of macros, saves code and string space.
error.c, fports.c, numbers.c, posix.c, ioext.c, filesys.c, socket.c,
fdsocket.c, simpos.c: change names of SCM_SYSERROR etc., to
lower case. Rename scm_syserror_m to scm_syserror_msg.
error.h: prototypes for new procedures.
1996-09-15 06:41:31 +00:00
Gary Houston
e1724d200d
* numbers.c: use SCM_NUM_OVERFLOW instead of scm_wta or ASSERT.
...
* error.c, error.h: setup scm_num_overflow key.
* __scm.h: SCM_NUM_OVERFLOW: macro for reporting numerical overflow.
Remove definition of SCM_OVSCM_FLOW.
* fports.c (scm_open_file): use SCM_SYSERROR_M.
* __scm.h: SCM_SYSERROR_M: new macro for system errors with an
explicit message and args.
* error.c, error.h, __scm.h: change system_error_sym to
scm_system_error.
* error.c (system_error_sym): remove leading %% from the Scheme name
"%%system-error".
* __scm.h (SCM_SYSMISSING): Redefine using lgh_error.
* boot-9.scm: remove leading %% from references to '%%system-error.
(%%handle-system-error): don't pass all the thrown arguments when
aborting, just the key and subr.
Remove the code to "Install default handlers for built-in errors."
Remove the definition of the syserror procedure.
Associate 'numerical-overflow with default handler.
1996-09-14 07:47:50 +00:00
Mikael Djurfeldt
05f9286947
*** empty log message ***
1996-09-13 13:32:46 +00:00
Mikael Djurfeldt
08b5b88cdf
* __scm.h, chars.c, debug.c, eval.c, eval.h, extchrs.c, extchrs.h,
...
fdsocket.c, feature.c, mbstrings.c, mbstrings.h, numbers.c,
numbers.h, print.c, scmhob.h, simpos.h, symbols.c, symbols.h,
tags.h, throw.c, variable.h: Name cleanup. Lots of xxxSCM_yyy
removed. (These were introduced by unsupervised name
substitution.)
1996-09-13 13:31:50 +00:00
Mikael Djurfeldt
e2806c1000
* __scm.h, chars.c, debug.c, eval.c, eval.h, extchrs.c, extchrs.h,
...
fdsocket.c, feature.c, mbstrings.c, mbstrings.h, numbers.c,
numbers.h, print.c, scmhob.h, simpos.h, symbols.c, symbols.h,
tags.h, throw.c, variable.h: Name cleanup. Lots of xxxSCM_yyy
removed. (These were introduced by unsupervised name
substitution.)
1996-09-13 11:07:24 +00:00
Mikael Djurfeldt
9a15c164c9
*** empty log message ***
1996-09-12 23:44:46 +00:00
Mikael Djurfeldt
a25840f95d
* error.c (err_head): scm_iprin1 --> scm_prin1
1996-09-12 23:44:21 +00:00
Mikael Djurfeldt
c88edfaf17
* gscm.c (gscm_portprint_obj): scm_iprin1 --> scm_prin1
1996-09-12 23:44:12 +00:00
Mikael Djurfeldt
439791ec7b
* gscm.h (gscm_print_obj): scm_iprin1 --> scm_prin1
1996-09-12 23:44:00 +00:00
Mikael Djurfeldt
a51ea417ba
* print.c: Added code for detection of circular references during
...
printing. (init_ref_stack, grow_ref_stack): New functions. Added
a hook for printing of closures (accessible via print options).
This leads to a split of calls to scm_iprin1 into two classes:
elementary print operations (e. g. the code which prints a smob)
still use scm_iprin1 while top level calls (like scm_display) use
scm_prin1. scm_prin1 begins by clearing the data structure used
to record reference information.
1996-09-12 23:43:47 +00:00
Mikael Djurfeldt
864f03aba4
* print.h: Added declarations of scm_prin1 and scm_prlist.
1996-09-12 23:43:34 +00:00
Mikael Djurfeldt
8781806909
* strports.c (scm_strprint_obj): scm_iprin1 --> scm_prin1
1996-09-12 23:43:18 +00:00
Mikael Djurfeldt
ee34012038
* debug.c: Adjusted header comment.
1996-09-12 23:39:37 +00:00
Mikael Djurfeldt
c6c790ed69
* tags.h: Typo.
1996-09-12 23:39:23 +00:00
Jim Blandy
1de1828496
.
1996-09-11 22:56:24 +00:00
Jim Blandy
dffa93b1b2
Doc fix.
1996-09-11 22:55:24 +00:00
Mikael Djurfeldt
7dc4b37a68
*** empty log message ***
1996-09-11 22:05:14 +00:00
Mikael Djurfeldt
380b6b4c32
* gdbint.c (gdb_read): Now possible to run during GC.
...
(unmark_port, remark_port): New functions.
1996-09-11 22:04:45 +00:00
Mikael Djurfeldt
85ab994756
* read.c (scm_grow_tok_buf): Use scm_vector_set_length_x instead
...
of allocating a new string object. Also, increase size by
the factor 2 instead of 1.5.
1996-09-11 22:04:13 +00:00
Mikael Djurfeldt
836669b8eb
* symbols.h (SCM_SETLENGTH): Use SCM_SETCAR.
1996-09-11 22:03:44 +00:00
Jim Blandy
d92b2b8972
*** empty log message ***
1996-09-11 20:30:27 +00:00
Jim Blandy
5e840c2e1a
* numbers.h: Repeated declarations removed.
...
* ports.h (scm_close_all_ports_except): Declaration for the
function defined in ports.c added.
* posix.h: Missing declarations added.
* procs.h (scm_make_subr_opt): Missing declaration added.
* socket.h (scm_sys_gethost): Missing declaration added.
* socket.h: Redundant declarations removed (they are in fdsocket.h).
* srcprop.h (scm_set_source_property_x, scm_finish_srcprop):
Missing declarations added.
* stime.h (scm_get_internal_real_time): Repeated declarations removed.
* struct.c: Uninitialized variable `SCM answer' may be used.
* unif.c (l2ra): Declaration prototype.
* unif.c (scm_array_equal_p): Dummy definition removed (it is
defined in ramap.c).
* unif.h (scm_raprin1, scm_istr2bve, scm_array_equal_p):
Redundant declarations removed (they are in ramap.h).
* variable.h (scm_make_udvariable,
scm_make_undefined_variable): Declaration corrected to
correspond variable.c.
* vectors.h (scm_vector_move_left_x, scm_vector_move_right_x):
Missing declarations added.
1996-09-11 20:29:44 +00:00
Jim Blandy
3a2425b944
* numbers.c (scm_two_doubles): Changed from extern to static
...
(is used only within numbers.c).
1996-09-11 20:28:41 +00:00
Jim Blandy
cb2326360a
* list.h (scm_list_head): Missing prototype for function in
...
list.c added.
1996-09-11 20:28:23 +00:00
Jim Blandy
c828e6ad2b
* ioext.h: (scm_sys_isatty_p): Typo.
1996-09-11 20:28:10 +00:00
Jim Blandy
3d40d7b66a
* init.c: Uninitialized `SCM last' may be used.
1996-09-11 20:27:47 +00:00
Jim Blandy
47ce0f920e
* genio.c: Possible typos str_data -> wstr_data. ???
...
* genio.c: Possibly unintended shadowing of local variable
`int c' (gotos out of scope of inner `c'). ???
1996-09-11 20:27:32 +00:00
Jim Blandy
f1cf98fea1
* gc.h (scm_object_addr, scm_unhash_name): Missing
...
declarations of functions defined in gc.c added.
1996-09-11 20:27:02 +00:00
Jim Blandy
657c49b3f3
* filesys.c: Possibly uninitialized variable rv.
1996-09-11 20:26:10 +00:00
Jim Blandy
c01e049b10
* eval.h (scm_eval_args, scm_deval_args, scm_m_undefine):
...
Missing declarations to functions in eval.c added.
1996-09-11 20:25:44 +00:00
Jim Blandy
4ad6f70593
* debug.h: Missing declarations of functions in debug.c added
...
(lots).
1996-09-11 20:25:28 +00:00
Jim Blandy
bba4bfdbda
* debug.c (scm_single_step, scm_memoized, scm_lookup_soft):
...
Definition typos corrected.
1996-09-11 20:25:13 +00:00
Jim Blandy
e95efac2fb
* continuations.c (scm_dynthrow): Redundant declaration removed.
1996-09-11 20:24:50 +00:00
Jim Blandy
f899144940
* async.h (scm_async_clock): Redundant declaration removed.
1996-09-11 20:24:38 +00:00
Jim Blandy
ffa19a75a3
* async.c: Calls to scm_sysintern corrected.
...
* async.c (scm_async_clock): Redundant declaration removed.
1996-09-11 20:23:41 +00:00
Jim Blandy
c01fdefe6e
* _scm.h (SCM_PROC): Extraneous semicolon (outside functions)
...
removed.
1996-09-11 20:23:30 +00:00
Jim Blandy
72713b2fd7
* __scm.h (SCM_P): Corrected to run under traditional C.
1996-09-11 20:22:58 +00:00
Jim Blandy
21dc7b4726
*** empty log message ***
1996-09-11 19:56:41 +00:00
Jim Blandy
6f4d0b6811
* Makefile.in (distclean): Don't forget to delete fd.h.
1996-09-11 19:40:38 +00:00
Jim Blandy
30d14d5598
.
1996-09-10 22:01:48 +00:00
Jim Blandy
986136ced6
* fd.h.in, tags.h: Trivial cleanups.
1996-09-10 22:01:36 +00:00