To: vim_dev@googlegroups.com Subject: Patch 7.4a.020 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 7.4a.020 Problem: Superfluous mb_ptr_adv(). Solution: Remove the call. (Dominique Pelle) Files: src/regexp_nfa.c *** ../vim-7.4a.019/src/regexp_nfa.c 2013-07-13 20:58:05.000000000 +0200 --- src/regexp_nfa.c 2013-07-14 12:23:41.000000000 +0200 *************** *** 1516,1522 **** EMIT('-'); EMIT(NFA_CONCAT); } - mb_ptr_adv(regparse); /* skip the trailing ] */ regparse = endp; --- 1516,1521 ---- *************** *** 4582,4588 **** /* Go back the specified number of bytes, or as far as the * start of the previous line, to try matching "\@<=" or ! * not matching "\@val <= 0) { --- 4581,4587 ---- /* Go back the specified number of bytes, or as far as the * start of the previous line, to try matching "\@<=" or ! * not matching "\@val <= 0) { *** ../vim-7.4a.019/src/version.c 2013-07-14 12:21:51.000000000 +0200 --- src/version.c 2013-07-14 12:25:05.000000000 +0200 *************** *** 729,730 **** --- 729,732 ---- { /* Add new patch number below this line */ + /**/ + 20, /**/ -- OLD WOMAN: Well, how did you become king, then? ARTHUR: The Lady of the Lake, her arm clad in the purest shimmering samite, held Excalibur aloft from the bosom of the water to signify by Divine Providence ... that I, Arthur, was to carry Excalibur ... That is why I am your king! "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD /// 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 ///