summaryrefslogtreecommitdiffstats
path: root/filter.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2015-10-16 06:43:28 -0700
committerKaz Kylheku <kaz@kylheku.com>2015-10-16 06:43:28 -0700
commitc7b7e82868a5fb1cd024e7570f973f5807248379 (patch)
tree5770688e0977d1d64bf27ab98842053ab766e863 /filter.c
parentc9e0e299e93a5c4f9caf9df31aed18038650a7be (diff)
downloadtxr-c7b7e82868a5fb1cd024e7570f973f5807248379.tar.gz
txr-c7b7e82868a5fb1cd024e7570f973f5807248379.tar.bz2
txr-c7b7e82868a5fb1cd024e7570f973f5807248379.zip
Renaming some functions for consistency.
* combi.c (perm_list, perm_str, rperm_list, reperm_gen_fun, rperm_vec, comb_vec, rcomb_list, rcomb_vec, rcomb_str): Follow rename of list_vector to list_vec. * eval.c (vector_list_s): Global variable renamed to vec_list_s. (expand_qquote): Follow vector_list_s to vec_list_s. (eval_init): Follow renames of all identifiers. Functions num-chr, chr-num, vector-list and list-vector are registered under new names, while remaining registered under old names. * eval.h (vector_list_s): Declaration renamed. * filter.c (url_encode): Follow chr_num to chr_int rename. * lib.c (make_like, interpose, shuffle): Follow vector_list to vec_list rename. (tolist, replace, replace_list): Follow list_vector to list_vec rename. (num_chr): Renamed to int_chr. (chr_num): Renamed to chr_int. (vector_list): Renamed to vec_list. (list_vector): Renamed to list_vec. * lib.h (num_chr, chr_num, list_vector, vector_list): * Declarations renamed. * parser.y (vector): Follow vector_list to vec_list rename. * txr.1: Updated documentation for num-chr, chr-num, list-vector and vector-list with new names, and notes about the old names being supported, but obsolescent.
Diffstat (limited to 'filter.c')
-rw-r--r--filter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/filter.c b/filter.c
index e8229f24..0388ea9f 100644
--- a/filter.c
+++ b/filter.c
@@ -625,7 +625,7 @@ val url_encode(val str, val space_plus)
else if (is_url_reserved(c))
format(out, lit("%~1X~1X"), num_fast(c >> 4), num_fast(c & 0xf), nao);
else
- put_char(chr_num(ch), out);
+ put_char(chr_int(ch), out);
}
return get_string_from_stream(out);