patch 8.2.1111: inconsistent naming of get_list_tv() and eval_dict()
Problem: Inconsistent naming of get_list_tv() and eval_dict().
Solution: Rename get_list_tv() to eval_list(). Similarly for eval_number(),
eval_string(), eval_lit_string() and a few others.
diff --git a/src/vim9script.c b/src/vim9script.c
index 30c269a..aa6b92c 100644
--- a/src/vim9script.c
+++ b/src/vim9script.c
@@ -302,9 +302,9 @@
tv.v_type = VAR_UNKNOWN;
// TODO: should we accept any expression?
if (*arg == '\'')
- ret = get_lit_string_tv(&arg, &tv, TRUE);
+ ret = eval_lit_string(&arg, &tv, TRUE);
else if (*arg == '"')
- ret = get_string_tv(&arg, &tv, TRUE);
+ ret = eval_string(&arg, &tv, TRUE);
if (ret == FAIL || tv.vval.v_string == NULL || *tv.vval.v_string == NUL)
{
emsg(_("E1071: Invalid string after \"from\""));