comparison src/proto/evalfunc.pro @ 30576:72e6073a2822 v9.0.0623

patch 9.0.0623: error for modifying a const is not detected at compile time Commit: https://github.com/vim/vim/commit/fa1039760e8c1a0c7a2a722160bd3d71a4736e61 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Sep 29 19:14:42 2022 +0100 patch 9.0.0623: error for modifying a const is not detected at compile time Problem: Error for modifying a const is not detected at compile time. Solution: Add TTFLAG_CONST and check for it in add() and extend().
author Bram Moolenaar <Bram@vim.org>
date Thu, 29 Sep 2022 20:15:05 +0200
parents 7fd3a9f05037
children f578bef02249
comparison
equal deleted inserted replaced
30575:3b314751334b 30576:72e6073a2822
1 /* evalfunc.c */ 1 /* evalfunc.c */
2 int arg_type_modifiable(type_T *type, int arg_idx);
2 char_u *get_function_name(expand_T *xp, int idx); 3 char_u *get_function_name(expand_T *xp, int idx);
3 char_u *get_expr_name(expand_T *xp, int idx); 4 char_u *get_expr_name(expand_T *xp, int idx);
4 int find_internal_func(char_u *name); 5 int find_internal_func(char_u *name);
5 int has_internal_func(char_u *name); 6 int has_internal_func(char_u *name);
6 char *internal_func_name(int idx); 7 char *internal_func_name(int idx);