comparison src/proto/vim9compile.pro @ 20091:a64c16ff98b8 v8.2.0601

patch 8.2.0601: Vim9: :unlet is not compiled Commit: https://github.com/vim/vim/commit/d72c1bf0a6784afdc8d8ceab4a007cd76d5b81e1 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Apr 19 16:28:59 2020 +0200 patch 8.2.0601: Vim9: :unlet is not compiled Problem: Vim9: :unlet is not compiled. Solution: Implement :unlet instruction and check for errors.
author Bram Moolenaar <Bram@vim.org>
date Sun, 19 Apr 2020 16:30:04 +0200
parents ad37a198a708
children 23d75968ca5e
comparison
equal deleted inserted replaced
20090:b2225a10b777 20091:a64c16ff98b8
1 /* vim9compile.c */ 1 /* vim9compile.c */
2 int check_defined(char_u *p, int len, cctx_T *cctx); 2 int check_defined(char_u *p, int len, cctx_T *cctx);
3 char_u *skip_type(char_u *start); 3 char_u *skip_type(char_u *start);
4 type_T *parse_type(char_u **arg, garray_T *type_list); 4 type_T *parse_type(char_u **arg, garray_T *type_gap);
5 char *vartype_name(vartype_T type); 5 char *vartype_name(vartype_T type);
6 char *type_name(type_T *type, char **tofree); 6 char *type_name(type_T *type, char **tofree);
7 int get_script_item_idx(int sid, char_u *name, int check_writable); 7 int get_script_item_idx(int sid, char_u *name, int check_writable);
8 imported_T *find_imported(char_u *name, size_t len, cctx_T *cctx); 8 imported_T *find_imported(char_u *name, size_t len, cctx_T *cctx);
9 char_u *to_name_const_end(char_u *arg); 9 char_u *to_name_const_end(char_u *arg);
10 int assignment_len(char_u *p, int *heredoc); 10 int assignment_len(char_u *p, int *heredoc);
11 int check_vim9_unlet(char_u *name);
11 void compile_def_function(ufunc_T *ufunc, int set_return_type); 12 void compile_def_function(ufunc_T *ufunc, int set_return_type);
12 void delete_instr(isn_T *isn); 13 void delete_instr(isn_T *isn);
13 void delete_def_function(ufunc_T *ufunc); 14 void delete_def_function(ufunc_T *ufunc);
14 void free_def_functions(void); 15 void free_def_functions(void);
15 /* vim: set ft=c : */ 16 /* vim: set ft=c : */