On Sat, Jun 23, 2018 at 2:21 PM, Bram Moolenaar <[email protected]> wrote:
>
> Patch 8.1.0098
> Problem: Segfault when pattern with \z() is very slow.
> Solution: Check for NULL regprog. Add "nfa_fail" to test_override() to be
> able to test this. Fix that 'searchhl' resets called_emsg.
> Files: src/syntax.c, runtime/doc/eval.txt, src/evalfunc.c, src/vim.h,
> src/testdir/test_syntax.vim, src/globals.h, src/screen.c,
> src/regexp.c, src/regexp_nfa.c
Compile failure for regexp_nfa.c and regexp.c in Tiny but not in Huge:
gcc -c -I. -Iproto -DHAVE_CONFIG_H -O2 -fno-strength-reduce -Wall
-U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/regexp.o
regexp.c
In file included from regexp.c:8088:0:
regexp_nfa.c: In function ‘nfa_regmatch’:
regexp_nfa.c:5696:39: error: ‘nfa_fail_for_testing’ undeclared (first
use in this function); did you mean ‘nfa_alt_listid’?
&& (nfa_listid >= NFA_MAX_STATES || nfa_fail_for_testing))
^~~~~~~~~~~~~~~~~~~~
nfa_alt_listid
regexp_nfa.c:5696:39: note: each undeclared identifier is reported
only once for each function it appears in
regexp.c: In function ‘vim_regexec_multi’:
regexp.c:8381:6: error: ‘reg_do_extmatch’ undeclared (first use in
this function); did you mean ‘ref_extmatch’?
reg_do_extmatch = REX_ALL;
^~~~~~~~~~~~~~~
ref_extmatch
regexp.c:8381:24: error: ‘REX_ALL’ undeclared (first use in this
function); did you mean ‘HL_ALL’?
reg_do_extmatch = REX_ALL;
^~~~~~~
HL_ALL
make: *** [Makefile:3285: objects/regexp.o] Error 1
exit status 2
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.