Mercurial > vim
comparison src/proto/vim9expr.pro @ 30065:6cf788ab844c v9.0.0370
patch 9.0.0370: cleaning up afterwards can make a function messy
Commit: https://github.com/vim/vim/commit/1d84f7608f1e41dad03b8cc7925895437775f7c0
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Sep 3 21:35:53 2022 +0100
patch 9.0.0370: cleaning up afterwards can make a function messy
Problem: Cleaning up afterwards can make a function messy.
Solution: Add the :defer command.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 03 Sep 2022 22:45:03 +0200 |
parents | bf013128ccf4 |
children |
comparison
equal
deleted
inserted
replaced
30064:a8f1fbaa43c8 | 30065:6cf788ab844c |
---|---|
2 int generate_ppconst(cctx_T *cctx, ppconst_T *ppconst); | 2 int generate_ppconst(cctx_T *cctx, ppconst_T *ppconst); |
3 void clear_ppconst(ppconst_T *ppconst); | 3 void clear_ppconst(ppconst_T *ppconst); |
4 int compile_member(int is_slice, int *keeping_dict, cctx_T *cctx); | 4 int compile_member(int is_slice, int *keeping_dict, cctx_T *cctx); |
5 int compile_load_scriptvar(cctx_T *cctx, char_u *name, char_u *start, char_u **end); | 5 int compile_load_scriptvar(cctx_T *cctx, char_u *name, char_u *start, char_u **end); |
6 int compile_load(char_u **arg, char_u *end_arg, cctx_T *cctx, int is_expr, int error); | 6 int compile_load(char_u **arg, char_u *end_arg, cctx_T *cctx, int is_expr, int error); |
7 int compile_arguments(char_u **arg, cctx_T *cctx, int *argcount, ca_special_T special_fn); | |
7 char_u *to_name_end(char_u *arg, int use_namespace); | 8 char_u *to_name_end(char_u *arg, int use_namespace); |
8 char_u *to_name_const_end(char_u *arg); | 9 char_u *to_name_const_end(char_u *arg); |
9 int get_lambda_tv_and_compile(char_u **arg, typval_T *rettv, int types_optional, evalarg_T *evalarg); | 10 int get_lambda_tv_and_compile(char_u **arg, typval_T *rettv, int types_optional, evalarg_T *evalarg); |
10 exprtype_T get_compare_type(char_u *p, int *len, int *type_is); | 11 exprtype_T get_compare_type(char_u *p, int *len, int *type_is); |
11 void skip_expr_cctx(char_u **arg, cctx_T *cctx); | 12 void skip_expr_cctx(char_u **arg, cctx_T *cctx); |