diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2014-11-05 07:48:49 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2014-11-05 07:48:49 -0800 |
commit | 34cb933b006c52eec59dba4478a0d04c8ae4e5ba (patch) | |
tree | 0b123cfc9d180c8e35885d5a7efd302adbb6959e /lib.c | |
parent | e313ceee48d860d3ee9591298c9ac1630096610b (diff) | |
download | txr-34cb933b006c52eec59dba4478a0d04c8ae4e5ba.tar.gz txr-34cb933b006c52eec59dba4478a0d04c8ae4e5ba.tar.bz2 txr-34cb933b006c52eec59dba4478a0d04c8ae4e5ba.zip |
* lib.c (iff): Bugfix: forgotten handling of default
argument, resulting in : symbol being called as a function.
* txr.1: Removing description of situation when the then-function
argument of iff or iffi is specified as nil. This is deprecated
behavior which can be obtained by using the false function.
Diffstat (limited to 'lib.c')
-rw-r--r-- | lib.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -4612,6 +4612,7 @@ static val do_iff(val env, val args) val iff(val condfun, val thenfun, val elsefun) { + elsefun = default_bool_arg(elsefun); return func_f0v(cons(condfun, cons(thenfun, elsefun)), do_iff); } |