aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/regexp_defs.h
diff options
context:
space:
mode:
authorBrian Leung <leungbk@posteo.net>2022-04-03 01:37:28 -0700
committerBrian Leung <leungbk@posteo.net>2022-04-03 15:57:07 -0700
commit271bb32855853b011fceaf0ad2f829bce66b2a19 (patch)
treea13efbe2922f6d5beccee30631ffdfe5f38aa90a /src/nvim/regexp_defs.h
parentd73bf3138a802bb6c1c654cd913d4e91932287f8 (diff)
downloadrneovim-271bb32855853b011fceaf0ad2f829bce66b2a19.tar.gz
rneovim-271bb32855853b011fceaf0ad2f829bce66b2a19.tar.bz2
rneovim-271bb32855853b011fceaf0ad2f829bce66b2a19.zip
vim-patch:8.2.4639: not sufficient parenthesis in preprocessor macros
Problem: Not sufficient parenthesis in preprocessor macros. Solution: Add more parenthesis. https://github.com/vim/vim/commit/9dac9b1751dd43c02470cc6a2aecaeea27abcc80
Diffstat (limited to 'src/nvim/regexp_defs.h')
-rw-r--r--src/nvim/regexp_defs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/regexp_defs.h b/src/nvim/regexp_defs.h
index 1d112bd64a..913cfb2074 100644
--- a/src/nvim/regexp_defs.h
+++ b/src/nvim/regexp_defs.h
@@ -34,7 +34,7 @@
// In the NFA engine: how many states are allowed.
#define NFA_MAX_STATES 100000
-#define NFA_TOO_EXPENSIVE -1
+#define NFA_TOO_EXPENSIVE (-1)
// Which regexp engine to use? Needed for vim_regcomp().
// Must match with 'regexpengine'.