summaryrefslogtreecommitdiffstats
path: root/parser.y
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 /parser.y
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 'parser.y')
-rw-r--r--parser.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/parser.y b/parser.y
index 55f31e8d..0208386d 100644
--- a/parser.y
+++ b/parser.y
@@ -714,7 +714,7 @@ vector : '#' list { if (unquotes_occur($2, 0))
$$ = rlcp(cons(vector_lit_s,
cons($2, nil)), $2);
else
- $$ = rlcp(vector_list($2), $2); }
+ $$ = rlcp(vec_list($2), $2); }
;
hash : HASH_H list { if (unquotes_occur($2, 0))