diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2012-01-26 20:35:36 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2012-01-26 20:35:36 -0800 |
commit | b4bca7645111c277afa6f6cde03d0f51592b4748 (patch) | |
tree | 813f8964483d3ea4fcf22dc2a61f7e6c1450553e /txr.1 | |
parent | d011fda9b6b078f09027eb65d500c8beffc99414 (diff) | |
download | txr-b4bca7645111c277afa6f6cde03d0f51592b4748.tar.gz txr-b4bca7645111c277afa6f6cde03d0f51592b4748.tar.bz2 txr-b4bca7645111c277afa6f6cde03d0f51592b4748.zip |
* lib.c (replace_list): Always convert the input items to a list,
even in the trivial case that an empty list is being replaced.
Allow a string to be the replacement (split into a list of
characters).
(replace_str): Bugfix in assignment from vector; wrong index
used over source vector.
(split_str): If the splitting set is empty, just split the
string into characters instead of getting into an infinite loop.
(replace_vec): Allow replacement source to be a string.
Diffstat (limited to 'txr.1')
0 files changed, 0 insertions, 0 deletions