Mercurial > vim
comparison src/regexp_bt.c @ 26952:b34ddbca305c v8.2.4005
patch 8.2.4005: error messages are spread out
Commit: https://github.com/vim/vim/commit/a6f7929e62c19a6a2418a016b4c59b83eb1887ac
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Jan 4 21:30:47 2022 +0000
patch 8.2.4005: 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 | Tue, 04 Jan 2022 22:45:04 +0100 |
parents | aa65d1808bd0 |
children | d92e0d85923f |
comparison
equal
deleted
inserted
replaced
26951:c3fbe78b6109 | 26952:b34ddbca305c |
---|---|
1610 default: i = -1; break; | 1610 default: i = -1; break; |
1611 } | 1611 } |
1612 | 1612 |
1613 if (i < 0 || i > INT_MAX) | 1613 if (i < 0 || i > INT_MAX) |
1614 EMSG2_RET_NULL( | 1614 EMSG2_RET_NULL( |
1615 _("E678: Invalid character after %s%%[dxouU]"), | 1615 _(e_invalid_character_after_str_2), |
1616 reg_magic == MAGIC_ALL); | 1616 reg_magic == MAGIC_ALL); |
1617 if (use_multibytecode(i)) | 1617 if (use_multibytecode(i)) |
1618 ret = regnode(MULTIBYTECODE); | 1618 ret = regnode(MULTIBYTECODE); |
1619 else | 1619 else |
1620 ret = regnode(EXACTLY); | 1620 ret = regnode(EXACTLY); |
1621 if (i == 0) | 1621 if (i == 0) |