summaryrefslogtreecommitdiffstats
path: root/lib.h
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2013-06-11 16:15:34 -0700
committerKaz Kylheku <kaz@kylheku.com>2013-06-11 16:15:34 -0700
commit399b4b6a5082aa6f14a98bc50b29baeca686aa39 (patch)
treefcf71aad074e38aecc2a13a192756791a1e02783 /lib.h
parenta6b0130ceaeadce6845d698fb68712dc2786e918 (diff)
downloadtxr-399b4b6a5082aa6f14a98bc50b29baeca686aa39.tar.gz
txr-399b4b6a5082aa6f14a98bc50b29baeca686aa39.tar.bz2
txr-399b4b6a5082aa6f14a98bc50b29baeca686aa39.zip
* eval.c (eval_init): tok-str acquires new parameter
* lib.c (tok_str): New parameter, keep_sep. * lib.h (tok_str): Declaration updated. * txr.1: Documentation for tok-str updated.
Diffstat (limited to 'lib.h')
-rw-r--r--lib.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib.h b/lib.h
index 2b87e7c8..c29eaa6d 100644
--- a/lib.h
+++ b/lib.h
@@ -501,7 +501,7 @@ val sub_str(val str_in, val from_num, val to_num);
val cat_str(val list, val sep);
val split_str(val str, val sep);
val split_str_set(val str, val set);
-val tok_str(val str, val tok_regex);
+val tok_str(val str, val tok_regex, val keep_sep);
val list_str(val str);
val trim_str(val str);
val string_cmp(val astr, val bstr);