diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2016-07-19 21:02:37 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2016-07-19 21:02:37 -0700 |
commit | 9bc29f44130cdfe750da120048298435cf59d72e (patch) | |
tree | 053fbf67250b83632402e3e5154f967d82fa443a /lib.c | |
parent | cf117291f8e2956c8156b170c1ed59e9520262c3 (diff) | |
download | txr-9bc29f44130cdfe750da120048298435cf59d72e.tar.gz txr-9bc29f44130cdfe750da120048298435cf59d72e.tar.bz2 txr-9bc29f44130cdfe750da120048298435cf59d72e.zip |
Replace 0 constant with nil.
* lib.c (split_str): Fourth argument of search_regex is
Lisp boolean, so nil should be used to specify false.
Diffstat (limited to 'lib.c')
-rw-r--r-- | lib.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3748,7 +3748,7 @@ val split_str(val str, val sep) val pos = zero; do { - cons_bind (new_pos, len, search_regex(str, sep, pos, 0)); + cons_bind (new_pos, len, search_regex(str, sep, pos, nil)); if (eql(pos, new_pos) && len == zero) new_pos = plus(new_pos, one); |