Mercurial > vim
comparison src/proto/evalvars.pro @ 20339:7587d892c00c v8.2.0725
patch 8.2.0725: Vim9: cannot call a function declared later in Vim9 script
Commit: https://github.com/vim/vim/commit/09689a02840be40fa7bb10b1921fb5bc5b2908f1
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat May 9 22:50:08 2020 +0200
patch 8.2.0725: Vim9: cannot call a function declared later in Vim9 script
Problem: Vim9: cannot call a function declared later in Vim9 script.
Solution: Make two passes through the script file.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 09 May 2020 23:00:04 +0200 |
parents | 2135b4641680 |
children | 489cb75c76b6 |
comparison
equal
deleted
inserted
replaced
20338:ff4ae3f09307 | 20339:7587d892c00c |
---|---|
14 void prepare_vimvar(int idx, typval_T *save_tv); | 14 void prepare_vimvar(int idx, typval_T *save_tv); |
15 void restore_vimvar(int idx, typval_T *save_tv); | 15 void restore_vimvar(int idx, typval_T *save_tv); |
16 list_T *heredoc_get(exarg_T *eap, char_u *cmd, int script_get); | 16 list_T *heredoc_get(exarg_T *eap, char_u *cmd, int script_get); |
17 void ex_let(exarg_T *eap); | 17 void ex_let(exarg_T *eap); |
18 void ex_const(exarg_T *eap); | 18 void ex_const(exarg_T *eap); |
19 void ex_let_const(exarg_T *eap, int redefine); | |
19 int ex_let_vars(char_u *arg_start, typval_T *tv, int copy, int semicolon, int var_count, int flags, char_u *op); | 20 int ex_let_vars(char_u *arg_start, typval_T *tv, int copy, int semicolon, int var_count, int flags, char_u *op); |
20 char_u *skip_var_list(char_u *arg, int include_type, int *var_count, int *semicolon); | 21 char_u *skip_var_list(char_u *arg, int include_type, int *var_count, int *semicolon); |
21 void list_hashtable_vars(hashtab_T *ht, char *prefix, int empty, int *first); | 22 void list_hashtable_vars(hashtab_T *ht, char *prefix, int empty, int *first); |
22 void ex_unlet(exarg_T *eap); | 23 void ex_unlet(exarg_T *eap); |
23 void ex_lockvar(exarg_T *eap); | 24 void ex_lockvar(exarg_T *eap); |