summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2021-06-30 15:55:12 -0700
committerKaz Kylheku <kaz@kylheku.com>2021-06-30 15:55:12 -0700
commite3e3ffc42ec9277e3c0d7e450722cb1caa19aae8 (patch)
tree83e5604873a340bcd063448a55b73d30642dee32
parent6c006174363f4bbbe98755b45dec792de7104d71 (diff)
downloadtxr-e3e3ffc42ec9277e3c0d7e450722cb1caa19aae8.tar.gz
txr-e3e3ffc42ec9277e3c0d7e450722cb1caa19aae8.tar.bz2
txr-e3e3ffc42ec9277e3c0d7e450722cb1caa19aae8.zip
getopts: autoload: opt-error not interned.
* lisplib.c (getopts_set_entries): Add opt-error to list of interned symbols. Without this, getopts throws sys:opt-error. Reported by Paul A. Patience.
-rw-r--r--lisplib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisplib.c b/lisplib.c
index ccd5ed38..5d42f715 100644
--- a/lisplib.c
+++ b/lisplib.c
@@ -483,7 +483,7 @@ static val getopts_set_entries(val dlt, val fun)
};
val name_noload[] = {
lit("short"), lit("long"), lit("helptext"), lit("type"),
- lit("in-args"), lit("out-args"), lit("cumul"), nil
+ lit("in-args"), lit("out-args"), lit("cumul"), lit("opt-error"), nil
};
set_dlt_entries(dlt, name, fun);
intern_only(name_noload);