1
0
forked from aniani/vim

patch 8.2.1854: Vim9: crash when throwing exception for NULL string

Problem:    Vim9: crash when throwing exception for NULL string. (Dhiraj
            Mishra)
Solution:   Handle NULL string like empty string. (closes #7139)
This commit is contained in:
Bram Moolenaar
2020-10-16 20:25:23 +02:00
parent 7a66a17190
commit 1e021e63c5
4 changed files with 28 additions and 0 deletions

View File

@@ -280,4 +280,6 @@ EXTERN char e_missing_name_after_dot[]
INIT(= N_("E1127: Missing name after dot"));
EXTERN char e_endblock_without_block[]
INIT(= N_("E1128: } without {"));
EXTERN char e_throw_with_empty_string[]
INIT(= N_("E1129: Throw with empty string"));
#endif