mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-10 14:00:21 +02:00
Basically, accumulate values in the `process-options' loop variables, instead of using set-option-spec-value! * module/ice-9/getopt-long.scm (option-spec): Delete the `value' slot. (process-options): Delete `val!loop' and just use `loop' everywhere instead. When adding an option spec to `found', add the corresponding value too; hence `found' becomes an alist, where it was previously a list of specs. (getopt-long): Use assq-ref to get values out of `found'. Remove unhittable error condition for detecting an option that requires an explicit value, where a value wasn't supplied. This condition is actually caught and handled in `process-options'. Rewrite the end of the procedure much more simply. |
||
---|---|---|
.. | ||
ice-9 | ||
language | ||
oop | ||
rnrs | ||
scripts | ||
srfi | ||
sxml | ||
system | ||
texinfo | ||
web | ||
Makefile.am | ||
rnrs.scm | ||
statprof.scm | ||
texinfo.scm |