comparison src/vim9script.c @ 25320:1e6da8364a02 v8.2.3197

patch 8.2.3197: error messages are spread out Commit: https://github.com/vim/vim/commit/d8e44476d84b5f0cc8c4de080a47a3a9af547028 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Jul 21 22:20:33 2021 +0200 patch 8.2.3197: error messages are spread out Problem: Error messages are spread out. Solution: Move a few more error messages to errors.h.
author Bram Moolenaar <Bram@vim.org>
date Wed, 21 Jul 2021 22:30:05 +0200
parents 9bce044c7643
children f03271631eb5
comparison
equal deleted inserted replaced
25319:6955c601ed4c 25320:1e6da8364a02
960 960
961 if (sv != NULL) 961 if (sv != NULL)
962 { 962 {
963 if (sv->sv_const != 0) 963 if (sv->sv_const != 0)
964 { 964 {
965 semsg(_(e_readonlyvar), name); 965 semsg(_(e_cannot_change_readonly_variable_str), name);
966 return FAIL; 966 return FAIL;
967 } 967 }
968 ret = check_typval_type(sv->sv_type, value, where); 968 ret = check_typval_type(sv->sv_type, value, where);
969 if (ret == OK && need_convert_to_bool(sv->sv_type, value)) 969 if (ret == OK && need_convert_to_bool(sv->sv_type, value))
970 { 970 {