Mercurial > vim
view src/proto/vim9compile.pro @ 19736:4174c4da6ff7 v8.2.0424
patch 8.2.0424: checking for wrong return value
Commit: https://github.com/vim/vim/commit/97acfc781bdb7fa2838dc6e0e7f9952ea61bb2fd
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Mar 22 13:44:28 2020 +0100
patch 8.2.0424: checking for wrong return value
Problem: Checking for wrong return value. (Tom)
Solution: Invert the check and fix the test.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 22 Mar 2020 13:45:08 +0100 |
parents | ad37a198a708 |
children | a64c16ff98b8 |
line wrap: on
line source
/* vim9compile.c */ int check_defined(char_u *p, int len, cctx_T *cctx); 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_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_instr(isn_T *isn); void delete_def_function(ufunc_T *ufunc); void free_def_functions(void); /* vim: set ft=c : */