summaryrefslogtreecommitdiff
path: root/data/vim/patches/8.1.0104
blob: ae5ab594bc832f4d9651f3fbfdaaefbb61fe3baa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
To: vim_dev@googlegroups.com
Subject: Patch 8.1.0104
Fcc: outbox
From: Bram Moolenaar <Bram@moolenaar.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
------------

Patch 8.1.0104
Problem:    Can't build without the +eval feature.
Solution:   Add #ifdef.
Files:	    src/regexp_nfa.c


*** ../vim-8.1.0103/src/regexp_nfa.c	2018-06-23 14:34:24.551261826 +0200
--- src/regexp_nfa.c	2018-06-23 17:13:47.102214648 +0200
***************
*** 5693,5699 ****
  	nextlist->has_pim = FALSE;
  	++nfa_listid;
  	if (prog->re_engine == AUTOMATIC_ENGINE
! 		&& (nfa_listid >= NFA_MAX_STATES || nfa_fail_for_testing))
  	{
  	    /* too many states, retry with old engine */
  	    nfa_match = NFA_TOO_EXPENSIVE;
--- 5693,5703 ----
  	nextlist->has_pim = FALSE;
  	++nfa_listid;
  	if (prog->re_engine == AUTOMATIC_ENGINE
! 		&& (nfa_listid >= NFA_MAX_STATES
! # ifdef FEAT_EVAL
! 		    || nfa_fail_for_testing
! # endif
! 		    ))
  	{
  	    /* too many states, retry with old engine */
  	    nfa_match = NFA_TOO_EXPENSIVE;
*** ../vim-8.1.0103/src/version.c	2018-06-23 16:12:15.784258242 +0200
--- src/version.c	2018-06-23 17:14:18.414022555 +0200
***************
*** 780,781 ****
--- 780,783 ----
  {   /* Add new patch number below this line */
+ /**/
+     104,
  /**/

-- 
From "know your smileys":
 <|-) Chinese
 <|-( Chinese and doesn't like these kind of jokes

 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///