Mercurial > vim
comparison src/userfunc.c @ 26958:d92e0d85923f v8.2.4008
patch 8.2.4008: error messages are spread out
Commit: https://github.com/vim/vim/commit/677658ae49de31fe2e5b1fa6d93fdfab85a4362e
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Jan 5 16:09:06 2022 +0000
patch 8.2.4008: error messages are spread out
Problem: Error messages are spread out.
Solution: Move more error messages to errors.h.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 05 Jan 2022 17:15:05 +0100 |
parents | b34ddbca305c |
children | 85866e069c24 |
comparison
equal
deleted
inserted
replaced
26957:e5b81e2bed22 | 26958:d92e0d85923f |
---|---|
4522 if (j == FAIL) | 4522 if (j == FAIL) |
4523 { | 4523 { |
4524 linenr_T save_lnum = SOURCING_LNUM; | 4524 linenr_T save_lnum = SOURCING_LNUM; |
4525 | 4525 |
4526 SOURCING_LNUM = sourcing_lnum_top; | 4526 SOURCING_LNUM = sourcing_lnum_top; |
4527 semsg(_("E746: Function name does not match script file name: %s"), name); | 4527 semsg(_(e_function_name_does_not_match_script_file_name_str), |
4528 name); | |
4528 SOURCING_LNUM = save_lnum; | 4529 SOURCING_LNUM = save_lnum; |
4529 goto erret; | 4530 goto erret; |
4530 } | 4531 } |
4531 } | 4532 } |
4532 | 4533 |