From 135b410607f008d3709a7b1374f3f37924eb9fe4 Mon Sep 17 00:00:00 2001 From: Sam Bingner Date: Fri, 3 Aug 2018 15:06:38 -1000 Subject: Update vim --- data/vim/patches/8.1.0102 | 53 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 data/vim/patches/8.1.0102 (limited to 'data/vim/patches/8.1.0102') diff --git a/data/vim/patches/8.1.0102 b/data/vim/patches/8.1.0102 new file mode 100644 index 000000000..c924c1a58 --- /dev/null +++ b/data/vim/patches/8.1.0102 @@ -0,0 +1,53 @@ +To: vim_dev@googlegroups.com +Subject: Patch 8.1.0102 +Fcc: outbox +From: Bram Moolenaar +Mime-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit +------------ + +Patch 8.1.0102 +Problem: Cannot build without syntax highlighting. +Solution: Add #ifdef around using reg_do_extmatch. +Files: src/regexp.c + + +*** ../vim-8.1.0101/src/regexp.c 2018-06-23 14:21:38.471484909 +0200 +--- src/regexp.c 2018-06-23 15:07:31.635796811 +0200 +*************** +*** 8376,8386 **** +--- 8376,8390 ---- + #ifdef FEAT_EVAL + report_re_switch(pat); + #endif ++ #ifdef FEAT_SYN_HL + // checking for \z misuse was already done when compiling for NFA, + // allow all here + reg_do_extmatch = REX_ALL; ++ #endif + rmp->regprog = vim_regcomp(pat, re_flags); ++ #ifdef FEAT_SYN_HL + reg_do_extmatch = 0; ++ #endif + + if (rmp->regprog != NULL) + result = rmp->regprog->engine->regexec_multi( +*** ../vim-8.1.0101/src/version.c 2018-06-23 14:55:00.146628803 +0200 +--- src/version.c 2018-06-23 15:08:14.019617869 +0200 +*************** +*** 763,764 **** +--- 763,766 ---- + { /* Add new patch number below this line */ ++ /**/ ++ 102, + /**/ + +-- +From "know your smileys": + :-| :-| Deja' vu! + + /// 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 /// -- cgit v1.2.3