Mercurial > vim
comparison src/errors.h @ 26230:8b8470b511f5 v8.2.3646
patch 8.2.3646: using <sfile> in a function gives an unexpected result
Commit: https://github.com/vim/vim/commit/c449271f4efa44725c40116a95b213813040312f
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Nov 22 15:37:15 2021 +0000
patch 8.2.3646: using <sfile> in a function gives an unexpected result
Problem: Using <sfile> in a function gives an unexpected result.
Solution: Give an error in a Vim9 function. (issue https://github.com/vim/vim/issues/9189)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 22 Nov 2021 16:45:04 +0100 |
parents | 92c424550367 |
children | 640b62dbf6cb |
comparison
equal
deleted
inserted
replaced
26229:1728a23d8052 | 26230:8b8470b511f5 |
---|---|
682 INIT(= N_("E1242: No white space allowed before separator: %s")); | 682 INIT(= N_("E1242: No white space allowed before separator: %s")); |
683 EXTERN char e_ascii_code_not_in_range[] | 683 EXTERN char e_ascii_code_not_in_range[] |
684 INIT(= N_("E1243: ASCII code not in 32-127 range")); | 684 INIT(= N_("E1243: ASCII code not in 32-127 range")); |
685 EXTERN char e_bad_color_string_str[] | 685 EXTERN char e_bad_color_string_str[] |
686 INIT(= N_("E1244: Bad color string: %s")); | 686 INIT(= N_("E1244: Bad color string: %s")); |
687 EXTERN char e_cannot_expand_sfile_in_vim9_function[] | |
688 INIT(= N_("E1245: Cannot expand <sfile> in a Vim9 function")); |