mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-01 04:10:18 +02:00
* strports.c (scm_read_0str, scm_eval_0str): update scm_read usage.
* gdbint.c (gdb_read): update scm_lreadr usage. * load.h: update prototypes. * load.c (scm_primitive_load, scm_read_and_eval_x, scm_primitive_load_path): remove case_insensitive_p, sharp arguments. * read.h: add prototype for scm_read_hash_extend. Change args for other prototypes. * read.c (scm_read_hash_procedures): new variable. (scm_read_hash_extend): new procedure. (scm_get_hash_procedure): new procedure. * (scm_lreadr): use scm_get_hash_procedure instead of an argument for extended # processing. (scm_read, scm_lreadr, scm_lreadrecparen, scm_lreadparen, scm_read_token): remove case_i, sharp arguments. Change callers. * read.h (SCM_N_READ_OPTIONS): increase to 3. (SCM_CASE_INSENSITIVE_P): define. * read.c: add case-insensitive option to scm_read_opts. * (scm_read_token): use SCM_CASE_INSENSITIVE_P instead of an argument to determine whether to convert symbol case. (default_case_i): definition removed. * read.c (scm_read_token): if case_i, downcase ic before doing anything with it.
This commit is contained in:
parent
90d5e28037
commit
deca31e173
7 changed files with 151 additions and 96 deletions
|
@ -215,7 +215,7 @@ gdb_read (str)
|
|||
/* Read one object */
|
||||
tok_buf_mark_p = SCM_GC8MARKP (tok_buf);
|
||||
SCM_CLRGC8MARK (tok_buf);
|
||||
ans = scm_lreadr (&tok_buf, gdb_input_port, 0, SCM_BOOL_F, &ans);
|
||||
ans = scm_lreadr (&tok_buf, gdb_input_port, &ans);
|
||||
if (SCM_GC_P)
|
||||
{
|
||||
if (SCM_NIMP (ans))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue