Patch 8.0.1478
Problem: Unnecessary condition for "len" being zero.
Solution: Remove the condition. (Dominique Pelle)
Files: src/regexp_nfa.c
*** ../vim-8.0.1477/src/regexp_nfa.c 2018-02-04 18:22:41.691668765 +0100
--- src/regexp_nfa.c 2018-02-08 22:42:58.492338708 +0100
***************
*** 6183,6189 ****
{
/* If \Z was present, then ignore composing characters.
* When ignoring the base character this always matches. */
! if (len == 0 && sta->c != curc)
result = FAIL;
else
result = OK;
--- 6183,6189 ----
{
/* If \Z was present, then ignore composing characters.
* When ignoring the base character this always matches. */
! if (sta->c != curc)
result = FAIL;
else
result = OK;
*** ../vim-8.0.1477/src/version.c 2018-02-08 22:33:27.840606629 +0100
--- src/version.c 2018-02-08 22:43:50.235948778 +0100
***************
*** 773,774 ****
--- 773,776 ----
{ /* Add new patch number below this line */
+ /**/
+ 1478,
/**/
--
[clop clop]
GUARD #1: Halt! Who goes there?
ARTHUR: It is I, Arthur, son of Uther Pendragon, from the castle of
Camelot. King of the Britons, defeator of the Saxons, sovereign of
all England!
GUARD #1: Pull the other one!
The Quest for the Holy Grail (Monty Python)
/// Bram Moolenaar -- [email protected] -- 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 ///
--
--
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.