diff options
author | dundargoc <33953936+dundargoc@users.noreply.github.com> | 2023-01-14 00:48:10 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-13 15:48:10 -0800 |
commit | 9220755302317e8030c5bbf334357c0d64df9fa4 (patch) | |
tree | 3ee671d186e47fab2c7e808f9236fe65005b890f /src/nvim/regexp_nfa.c | |
parent | b884d0b37031ec3d5a521925ea66621b572adfda (diff) | |
download | rneovim-9220755302317e8030c5bbf334357c0d64df9fa4.tar.gz rneovim-9220755302317e8030c5bbf334357c0d64df9fa4.tar.bz2 rneovim-9220755302317e8030c5bbf334357c0d64df9fa4.zip |
build: remove clint error suppression #21782
Fix remaining clint errors and remove error suppression completely.
Rename the lint targets to align with the established naming convention:
- lintc-clint lints with clint.py.
- lintc-uncrustify lints with uncrustify.
- lintc runs both targets.
lintc is also provided as a make target for convenience.
After this change we can remove these files:
https://github.com/neovim/doc/tree/gh-pages/reports/clint
https://github.com/neovim/doc/blob/main/ci/clint-errors.sh
Diffstat (limited to 'src/nvim/regexp_nfa.c')
-rw-r--r-- | src/nvim/regexp_nfa.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/regexp_nfa.c b/src/nvim/regexp_nfa.c index bd872235ad..ea57e8a34c 100644 --- a/src/nvim/regexp_nfa.c +++ b/src/nvim/regexp_nfa.c @@ -1735,7 +1735,7 @@ static void nfa_emit_equi_class(int c) case 0x1ef5: case 0x1ef7: case 0x1ef9: - EMIT2('y') EMIT2(y_acute) EMIT2(y_diaeresis) + EMIT2('y') EMIT2(y_acute) EMIT2(y_diaeresis) // NOLINT(whitespace/cast) EMIT2(0x177) EMIT2(0x1b4) EMIT2(0x233) EMIT2(0x24f) EMIT2(0x1e8f) EMIT2(0x1e99) EMIT2(0x1ef3) EMIT2(0x1ef5) EMIT2(0x1ef7) EMIT2(0x1ef9) @@ -5236,7 +5236,7 @@ static regsubs_T *addstate_here(nfa_list_T *l, nfa_state_T *state, regsubs_T *su sizeof(nfa_thread_T) * (size_t)count); } } - --l->n; + l->n--; *ip = listidx - 1; return r; |