summaryrefslogtreecommitdiffstats
path: root/ChangeLog
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2012-01-26 20:35:36 -0800
committerKaz Kylheku <kaz@kylheku.com>2012-01-26 20:35:36 -0800
commitb4bca7645111c277afa6f6cde03d0f51592b4748 (patch)
tree813f8964483d3ea4fcf22dc2a61f7e6c1450553e /ChangeLog
parentd011fda9b6b078f09027eb65d500c8beffc99414 (diff)
downloadtxr-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 'ChangeLog')
-rw-r--r--ChangeLog12
1 files changed, 12 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 0f9c7daa..f4f2ed83 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,17 @@
2012-01-26 Kaz Kylheku <kaz@kylheku.com>
+ * 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.
+
+2012-01-26 Kaz Kylheku <kaz@kylheku.com>
+
* arith.c (plus, minus): Better wording in error messages.
* eval.c (dwim_loc): Assignments to string indices and ranges