diff options
author | Mikael Djurfeldt <djurfeldt@nada.kth.se> | 2000-03-12 17:00:58 +0000 |
---|---|---|
committer | Mikael Djurfeldt <djurfeldt@nada.kth.se> | 2000-03-12 17:00:58 +0000 |
commit | 413cb56ff4080de5676a2756b670bcdd81af3334 (patch) | |
tree | 2c0bbcce260b66b0ed2f43a0c939d48c472ab33c /libguile/options.c | |
parent | 244fdc2f4be27a42fa0a8ffb06a57b441ac9c690 (diff) | |
download | guile-413cb56ff4080de5676a2756b670bcdd81af3334.tar.gz |
* async.c, boolean.h, debug.c, dynl.c, dynwind.c, eval.c, eval.h,
feature.h, filesys.h, fluids.h, fports.c, fports.h, gc.c, gc.h,
hash.c, keywords.h, macros.c, numbers.c, numbers.h, objects.c,
objects.h, options.c, pairs.h, ports.c, ports.h, print.c,
procs.h, ramap.c, read.c, smob.c, smob.h, srcprop.h, stacks.c,
stacks.h, strports.c, struct.c, struct.h, tag.c, tags.h,
throw.c, unif.c, unif.h, variable.h, vectors.h, weaks.c,
weaks.h (SCM_SCM, SCM_BITS, SCM_CARBITS): Renamed from
SCM_ASSCM, SCM_ASWORD, SCM_CARW).
Diffstat (limited to 'libguile/options.c')
-rw-r--r-- | libguile/options.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libguile/options.c b/libguile/options.c index f051c1db9..5ac0a4323 100644 --- a/libguile/options.c +++ b/libguile/options.c @@ -186,7 +186,7 @@ scm_options (SCM arg, scm_option options[], int n, const char *s) goto cont; case SCM_OPTION_SCM: new_mode = SCM_CDR (new_mode); - flags[i] = SCM_CARW (new_mode); + flags[i] = SCM_CARBITS (new_mode); goto cont; } #ifndef SCM_RECKLESS @@ -201,8 +201,8 @@ scm_options (SCM arg, scm_option options[], int n, const char *s) // scm_option doesn't know if its a long or an SCM if (options[i].type == SCM_OPTION_SCM) SCM_SETCDR (protected_objects, - scm_cons (SCM_ASSCM(flags[i]), - scm_delq1_x (SCM_ASSCM(options[i].val), + scm_cons (SCM_SCM(flags[i]), + scm_delq1_x (SCM_SCM(options[i].val), SCM_CDR (protected_objects)))); options[i].val = flags[i]; } @@ -224,7 +224,7 @@ scm_init_opts (SCM (*func) (SCM), scm_option options[], int n) (options[i].doc)); if (options[i].type == SCM_OPTION_SCM) SCM_SETCDR (protected_objects, - scm_cons (SCM_ASSCM(options[i].val), SCM_CDR (protected_objects))); + scm_cons (SCM_SCM(options[i].val), SCM_CDR (protected_objects))); } func (SCM_UNDEFINED); } |