Mercurial > vim
diff src/proto/eval.pro @ 17079:00ffed9bbb65 v8.1.1539
patch 8.1.1539: not easy to define a variable and lock it
commit https://github.com/vim/vim/commit/9937a055437ef67b57a1bdec8f0799b669c9dbf0
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jun 15 15:45:06 2019 +0200
patch 8.1.1539: not easy to define a variable and lock it
Problem: Not easy to define a variable and lock it.
Solution: Add ":const".
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 15 Jun 2019 16:00:05 +0200 |
parents | 8c3a1bd270bb |
children | 1d30eb64a7a2 |
line wrap: on
line diff
--- a/src/proto/eval.pro +++ b/src/proto/eval.pro @@ -28,6 +28,7 @@ void *call_func_retstr(char_u *func, int void *call_func_retlist(char_u *func, int argc, typval_T *argv); int eval_foldexpr(char_u *arg, int *cp); void ex_let(exarg_T *eap); +void ex_const(exarg_T *eap); void list_hashtable_vars(hashtab_T *ht, char *prefix, int empty, int *first); char_u *get_lval(char_u *name, typval_T *rettv, lval_T *lp, int unlet, int skip, int flags, int fne_flags); void clear_lval(lval_T *lp);