diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2021-06-30 15:55:12 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2021-06-30 15:55:12 -0700 |
commit | e3e3ffc42ec9277e3c0d7e450722cb1caa19aae8 (patch) | |
tree | 83e5604873a340bcd063448a55b73d30642dee32 | |
parent | 6c006174363f4bbbe98755b45dec792de7104d71 (diff) | |
download | txr-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |