Mercurial > vim
view src/proto/vim9compile.pro @ 19301:80baa37506d0 v8.2.0209
patch 8.2.0209: function a bit far away from where it's used
Commit: https://github.com/vim/vim/commit/80147dda4f5a25c9533bc88583c87dbbb0a0f1f1
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Feb 4 22:32:59 2020 +0100
patch 8.2.0209: function a bit far away from where it's used
Problem: Function a bit far away from where it's used.
Solution: Move function close to where it's used. (Ken Takata, closes https://github.com/vim/vim/issues/5569)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 04 Feb 2020 22:45:04 +0100 |
parents | 86665583dc83 |
children | ba35daca6553 |
line wrap: on
line source
/* vim9compile.c */ char_u *skip_type(char_u *start); type_T *parse_type(char_u **arg, garray_T *type_list); char *vartype_name(vartype_T type); char *type_name(type_T *type, char **tofree); int get_script_item_idx(int sid, char_u *name, int check_writable); imported_T *find_imported(char_u *name, size_t len, cctx_T *cctx); char_u *to_name_end(char_u *arg); char_u *to_name_const_end(char_u *arg); int assignment_len(char_u *p, int *heredoc); void compile_def_function(ufunc_T *ufunc, int set_return_type); void delete_def_function(ufunc_T *ufunc); void free_def_functions(void); /* vim: set ft=c : */