comparison src/float.c @ 26962:85866e069c24 v8.2.4010

patch 8.2.4010: error messages are spread out Commit: https://github.com/vim/vim/commit/9d00e4a8146862c17ed429dc6b1b43349acb2b5f Author: Bram Moolenaar <Bram@vim.org> Date: Wed Jan 5 17:49:15 2022 +0000 patch 8.2.4010: 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 19:00:06 +0100
parents 763ea8f075db
children f5cbf8a4043d
comparison
equal deleted inserted replaced
26961:33c0467b3c52 26962:85866e069c24
97 if (argvars[0].v_type == VAR_NUMBER) 97 if (argvars[0].v_type == VAR_NUMBER)
98 { 98 {
99 *f = (float_T)argvars[0].vval.v_number; 99 *f = (float_T)argvars[0].vval.v_number;
100 return OK; 100 return OK;
101 } 101 }
102 emsg(_("E808: Number or Float required")); 102 emsg(_(e_number_or_float_required));
103 return FAIL; 103 return FAIL;
104 } 104 }
105 105
106 /* 106 /*
107 * "abs(expr)" function 107 * "abs(expr)" function