0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

patch 8.2.4318: various comment and indent mistakes, returning wrong zero

Problem:    Various comment and indent mistakes, returning wrong zero.
Solution:   Fix the mistakes.  Return NULL instead of FAIL.
This commit is contained in:
Bram Moolenaar
2022-02-07 13:56:44 +00:00
parent 63ff72aab9
commit 54969f4ef5
6 changed files with 14 additions and 11 deletions

View File

@@ -3461,7 +3461,8 @@ set_var_const(
semsg(_(e_illegal_variable_name_str), name);
goto failed;
}
is_script_local = ht == get_script_local_ht() || sid != 0 || var_in_autoload;
is_script_local = ht == get_script_local_ht() || sid != 0
|| var_in_autoload;
if (vim9script
&& !is_script_local