diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2022-05-17 21:02:21 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2022-05-17 21:02:21 -0700 |
commit | f255d4cfaf866ced7a5fb2f4af4681d96a069b4b (patch) | |
tree | 755ddf6bfcc6ede8f6e8d7d2eabf16bae6e96c4f /libtags.txr | |
parent | f16a4c07c8dad9d7d144063618cf65c6e076233e (diff) | |
download | txr-f255d4cfaf866ced7a5fb2f4af4681d96a069b4b.tar.gz txr-f255d4cfaf866ced7a5fb2f4af4681d96a069b4b.tar.bz2 txr-f255d4cfaf866ced7a5fb2f4af4681d96a069b4b.zip |
split-str: new count parameter.
* eval.c (eval_init): Fix up registration of split-str to
account for new parameter.
* lib.c (split_str_keep): Implement new optional count
argument.
(spl): Pass nil value to split_str_keep for new argument.
I'd like this function to benefit from this argument also,
but the design isn't settled.
(split_str): Pass nil argument to split_str_keep.
* lib.h (split_str_keep): Declaration updated.
* tests/015/split.tl: New tests.
* txr.1: Documented.
Diffstat (limited to 'libtags.txr')
0 files changed, 0 insertions, 0 deletions