Mercurial > vim
comparison src/evalfunc.c @ 21120:4d844a65183d v8.2.1111
patch 8.2.1111: inconsistent naming of get_list_tv() and eval_dict()
Commit: https://github.com/vim/vim/commit/9a78e6df17033223ebdf499f2b02b2538601c52d
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Jul 1 18:29:55 2020 +0200
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.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 01 Jul 2020 18:45:04 +0200 |
parents | d69ead03ba93 |
children | 3158cc2384cc |
comparison
equal
deleted
inserted
replaced
21119:20dcea08f37b | 21120:4d844a65183d |
---|---|
2322 vim_free(p); | 2322 vim_free(p); |
2323 } | 2323 } |
2324 } | 2324 } |
2325 else if (*p == '&' || *p == '+') // option | 2325 else if (*p == '&' || *p == '+') // option |
2326 { | 2326 { |
2327 n = (get_option_tv(&p, NULL, TRUE) == OK); | 2327 n = (eval_option(&p, NULL, TRUE) == OK); |
2328 if (*skipwhite(p) != NUL) | 2328 if (*skipwhite(p) != NUL) |
2329 n = FALSE; // trailing garbage | 2329 n = FALSE; // trailing garbage |
2330 } | 2330 } |
2331 else if (*p == '*') // internal or user defined function | 2331 else if (*p == '*') // internal or user defined function |
2332 { | 2332 { |