Mercurial > vim
comparison src/proto/scriptfile.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 | 94eda51ba9ba |
children | 8fa783f2c69c |
comparison
equal
deleted
inserted
replaced
20338:ff4ae3f09307 | 20339:7587d892c00c |
---|---|
17 int ExpandRTDir(char_u *pat, int flags, int *num_file, char_u ***file, char *dirnames[]); | 17 int ExpandRTDir(char_u *pat, int flags, int *num_file, char_u ***file, char *dirnames[]); |
18 int ExpandPackAddDir(char_u *pat, int *num_file, char_u ***file); | 18 int ExpandPackAddDir(char_u *pat, int *num_file, char_u ***file); |
19 void ex_source(exarg_T *eap); | 19 void ex_source(exarg_T *eap); |
20 void ex_options(exarg_T *eap); | 20 void ex_options(exarg_T *eap); |
21 linenr_T *source_breakpoint(void *cookie); | 21 linenr_T *source_breakpoint(void *cookie); |
22 garray_T *source_get_line_ga(void *cookie); | |
23 void source_use_line_ga(void *cookie); | |
22 int *source_dbg_tick(void *cookie); | 24 int *source_dbg_tick(void *cookie); |
23 int source_level(void *cookie); | 25 int source_level(void *cookie); |
24 int do_source(char_u *fname, int check_other, int is_vimrc, int *ret_sid); | 26 int do_source(char_u *fname, int check_other, int is_vimrc, int *ret_sid); |
25 void ex_scriptnames(exarg_T *eap); | 27 void ex_scriptnames(exarg_T *eap); |
26 void scriptnames_slash_adjust(void); | 28 void scriptnames_slash_adjust(void); |