Mercurial > vim
comparison src/list.c @ 32256:252b06c87796 v9.0.1459
patch 9.0.1459: typo in name of type
Commit: https://github.com/vim/vim/commit/e7d49465a4ad390c1b0fb6d6b97bc30241fe5db9
Author: zeertzjq <zeertzjq@outlook.com>
Date: Sun Apr 16 20:53:55 2023 +0100
patch 9.0.1459: typo in name of type
Problem: Typo in name of type.
Solution: Change funccal_T to funccall_T. (closes https://github.com/vim/vim/issues/12265)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 16 Apr 2023 22:00:02 +0200 |
parents | 5848a0867b26 |
children | d5e673b941cd |
comparison
equal
deleted
inserted
replaced
32255:70a10f7133a8 | 32256:252b06c87796 |
---|---|
2399 set_vim_var_type(VV_KEY, VAR_NUMBER); | 2399 set_vim_var_type(VV_KEY, VAR_NUMBER); |
2400 | 2400 |
2401 if (l->lv_lock == 0) | 2401 if (l->lv_lock == 0) |
2402 l->lv_lock = VAR_LOCKED; | 2402 l->lv_lock = VAR_LOCKED; |
2403 | 2403 |
2404 // Create one funccal_T for all eval_expr_typval() calls. | 2404 // Create one funccall_T for all eval_expr_typval() calls. |
2405 fc = eval_expr_get_funccal(expr, &newtv); | 2405 fc = eval_expr_get_funccal(expr, &newtv); |
2406 | 2406 |
2407 if (l->lv_first == &range_list_item) | 2407 if (l->lv_first == &range_list_item) |
2408 { | 2408 { |
2409 varnumber_T val = l->lv_u.nonmat.lv_start; | 2409 varnumber_T val = l->lv_u.nonmat.lv_start; |
3062 copy_tv(&initial, rettv); | 3062 copy_tv(&initial, rettv); |
3063 | 3063 |
3064 if (l == NULL) | 3064 if (l == NULL) |
3065 return; | 3065 return; |
3066 | 3066 |
3067 // Create one funccal_T for all eval_expr_typval() calls. | 3067 // Create one funccall_T for all eval_expr_typval() calls. |
3068 fc = eval_expr_get_funccal(expr, rettv); | 3068 fc = eval_expr_get_funccal(expr, rettv); |
3069 | 3069 |
3070 prev_locked = l->lv_lock; | 3070 prev_locked = l->lv_lock; |
3071 l->lv_lock = VAR_FIXED; // disallow the list changing here | 3071 l->lv_lock = VAR_FIXED; // disallow the list changing here |
3072 | 3072 |