diff options
author | Pavel Platto <hinidu@gmail.com> | 2014-06-07 14:12:58 +0300 |
---|---|---|
committer | Pavel Platto <hinidu@gmail.com> | 2014-08-02 09:17:00 +0300 |
commit | f42a4be834acaf6d12e21dde78b98b9ace45f6aa (patch) | |
tree | bb5f9eac726e3b0a0940b5b3de915ac8267527f8 /src/nvim/regexp.c | |
parent | fe61a45c07c471f1965e827e0c7dd2e1cc26527a (diff) | |
download | rneovim-f42a4be834acaf6d12e21dde78b98b9ace45f6aa.tar.gz rneovim-f42a4be834acaf6d12e21dde78b98b9ace45f6aa.tar.bz2 rneovim-f42a4be834acaf6d12e21dde78b98b9ace45f6aa.zip |
Remove SMALL_MALLOC. Used on MSDOS and WIN16.
Diffstat (limited to 'src/nvim/regexp.c')
-rw-r--r-- | src/nvim/regexp.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/nvim/regexp.c b/src/nvim/regexp.c index fd1b6116f2..ba7e4eb2d3 100644 --- a/src/nvim/regexp.c +++ b/src/nvim/regexp.c @@ -1256,12 +1256,6 @@ static regprog_T *bt_regcomp(char_u *expr, int re_flags) if (reg(REG_NOPAREN, &flags) == NULL) return NULL; - /* Small enough for pointer-storage convention? */ -#ifdef SMALL_MALLOC /* 16 bit storage allocation */ - if (regsize >= 65536L - 256L) - EMSG_RET_NULL(_("E339: Pattern too long")); -#endif - /* Allocate space. */ bt_regprog_T *r = xmalloc(sizeof(bt_regprog_T) + regsize); |