Mercurial > vim
comparison src/errors.h @ 22612:b08f435d5b86 v8.2.1854
patch 8.2.1854: Vim9: crash when throwing exception for NULL string
Commit: https://github.com/vim/vim/commit/1e021e63c565bbb30783a557b4e883cc27f56403
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Oct 16 20:25:23 2020 +0200
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)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 16 Oct 2020 20:30:04 +0200 |
parents | 7d25264c246c |
children | 048a3033d19c |
comparison
equal
deleted
inserted
replaced
22611:377667e0a347 | 22612:b08f435d5b86 |
---|---|
278 INIT(= N_("E1126: Cannot use :let in Vim9 script")); | 278 INIT(= N_("E1126: Cannot use :let in Vim9 script")); |
279 EXTERN char e_missing_name_after_dot[] | 279 EXTERN char e_missing_name_after_dot[] |
280 INIT(= N_("E1127: Missing name after dot")); | 280 INIT(= N_("E1127: Missing name after dot")); |
281 EXTERN char e_endblock_without_block[] | 281 EXTERN char e_endblock_without_block[] |
282 INIT(= N_("E1128: } without {")); | 282 INIT(= N_("E1128: } without {")); |
283 EXTERN char e_throw_with_empty_string[] | |
284 INIT(= N_("E1129: Throw with empty string")); | |
283 #endif | 285 #endif |