Mercurial > vim
comparison src/match.c @ 26883:7f150a4936f2 v8.2.3970
patch 8.2.3970: error messages are spread out
Commit: https://github.com/vim/vim/commit/74409f62790a93daf0965c71da01ff76aa0fa5a5
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jan 1 15:58:22 2022 +0000
patch 8.2.3970: error messages are spread out
Problem: Error messages are spread out.
Solution: Move more errors to errors.h.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 01 Jan 2022 17:00:04 +0100 |
parents | 06a137af96f8 |
children | 612339679616 |
comparison
equal
deleted
inserted
replaced
26882:196f4d7e2a38 | 26883:7f150a4936f2 |
---|---|
1401 if (!eap->skip) | 1401 if (!eap->skip) |
1402 { | 1402 { |
1403 if (*end != NUL && !ends_excmd2(end, skipwhite(end + 1))) | 1403 if (*end != NUL && !ends_excmd2(end, skipwhite(end + 1))) |
1404 { | 1404 { |
1405 vim_free(g); | 1405 vim_free(g); |
1406 eap->errmsg = ex_errmsg(e_trailing_arg, end); | 1406 eap->errmsg = ex_errmsg(e_trailing_characters_str, end); |
1407 return; | 1407 return; |
1408 } | 1408 } |
1409 if (*end != *p) | 1409 if (*end != *p) |
1410 { | 1410 { |
1411 vim_free(g); | 1411 vim_free(g); |