|
Karsten Hopp |
caaef3 |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
caaef3 |
Subject: Patch 7.3.1125
|
|
Karsten Hopp |
caaef3 |
Fcc: outbox
|
|
Karsten Hopp |
caaef3 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
caaef3 |
Mime-Version: 1.0
|
|
Karsten Hopp |
caaef3 |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
caaef3 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
caaef3 |
------------
|
|
Karsten Hopp |
caaef3 |
|
|
Karsten Hopp |
caaef3 |
Patch 7.3.1125
|
|
Karsten Hopp |
caaef3 |
Problem: Error for using \%V in a pattern in tiny Vim.
|
|
Karsten Hopp |
caaef3 |
Solution: Allow using \%V but never match. (Dominique Pelle)
|
|
Karsten Hopp |
caaef3 |
Files: src/regexp_nfa.c
|
|
Karsten Hopp |
caaef3 |
|
|
Karsten Hopp |
caaef3 |
|
|
Karsten Hopp |
caaef3 |
*** ../vim-7.3.1124/src/regexp_nfa.c 2013-06-05 18:52:36.000000000 +0200
|
|
Karsten Hopp |
caaef3 |
--- src/regexp_nfa.c 2013-06-05 21:05:09.000000000 +0200
|
|
Karsten Hopp |
caaef3 |
***************
|
|
Karsten Hopp |
caaef3 |
*** 184,192 ****
|
|
Karsten Hopp |
caaef3 |
NFA_MARK, /* Match mark */
|
|
Karsten Hopp |
caaef3 |
NFA_MARK_GT, /* Match > mark */
|
|
Karsten Hopp |
caaef3 |
NFA_MARK_LT, /* Match < mark */
|
|
Karsten Hopp |
caaef3 |
- #ifdef FEAT_VISUAL
|
|
Karsten Hopp |
caaef3 |
NFA_VISUAL, /* Match Visual area */
|
|
Karsten Hopp |
caaef3 |
- #endif
|
|
Karsten Hopp |
caaef3 |
|
|
Karsten Hopp |
caaef3 |
NFA_FIRST_NL = NFA_ANY + ADD_NL,
|
|
Karsten Hopp |
caaef3 |
NFA_LAST_NL = NFA_NUPPER + ADD_NL,
|
|
Karsten Hopp |
caaef3 |
--- 184,190 ----
|
|
Karsten Hopp |
caaef3 |
***************
|
|
Karsten Hopp |
caaef3 |
*** 963,973 ****
|
|
Karsten Hopp |
caaef3 |
EMIT(NFA_CURSOR);
|
|
Karsten Hopp |
caaef3 |
break;
|
|
Karsten Hopp |
caaef3 |
|
|
Karsten Hopp |
caaef3 |
- #ifdef FEAT_VISUAL
|
|
Karsten Hopp |
caaef3 |
case 'V':
|
|
Karsten Hopp |
caaef3 |
EMIT(NFA_VISUAL);
|
|
Karsten Hopp |
caaef3 |
break;
|
|
Karsten Hopp |
caaef3 |
- #endif
|
|
Karsten Hopp |
caaef3 |
|
|
Karsten Hopp |
caaef3 |
case '[':
|
|
Karsten Hopp |
caaef3 |
{
|
|
Karsten Hopp |
caaef3 |
--- 961,969 ----
|
|
Karsten Hopp |
caaef3 |
***************
|
|
Karsten Hopp |
caaef3 |
*** 1976,1984 ****
|
|
Karsten Hopp |
caaef3 |
case NFA_MARK_GT: STRCPY(code, "NFA_MARK_GT "); break;
|
|
Karsten Hopp |
caaef3 |
case NFA_MARK_LT: STRCPY(code, "NFA_MARK_LT "); break;
|
|
Karsten Hopp |
caaef3 |
case NFA_CURSOR: STRCPY(code, "NFA_CURSOR "); break;
|
|
Karsten Hopp |
caaef3 |
- #ifdef FEAT_VISUAL
|
|
Karsten Hopp |
caaef3 |
case NFA_VISUAL: STRCPY(code, "NFA_VISUAL "); break;
|
|
Karsten Hopp |
caaef3 |
- #endif
|
|
Karsten Hopp |
caaef3 |
|
|
Karsten Hopp |
caaef3 |
case NFA_STAR: STRCPY(code, "NFA_STAR "); break;
|
|
Karsten Hopp |
caaef3 |
case NFA_STAR_NONGREEDY: STRCPY(code, "NFA_STAR_NONGREEDY "); break;
|
|
Karsten Hopp |
caaef3 |
--- 1972,1978 ----
|
|
Karsten Hopp |
caaef3 |
***************
|
|
Karsten Hopp |
caaef3 |
*** 4093,4101 ****
|
|
Karsten Hopp |
caaef3 |
case NFA_VCOL_LT:
|
|
Karsten Hopp |
caaef3 |
case NFA_MARK_GT:
|
|
Karsten Hopp |
caaef3 |
case NFA_MARK_LT:
|
|
Karsten Hopp |
caaef3 |
- #ifdef FEAT_VISUAL
|
|
Karsten Hopp |
caaef3 |
case NFA_VISUAL:
|
|
Karsten Hopp |
caaef3 |
- #endif
|
|
Karsten Hopp |
caaef3 |
/* before/after positions don't match very often */
|
|
Karsten Hopp |
caaef3 |
return 85;
|
|
Karsten Hopp |
caaef3 |
|
|
Karsten Hopp |
caaef3 |
--- 4087,4093 ----
|
|
Karsten Hopp |
caaef3 |
***************
|
|
Karsten Hopp |
caaef3 |
*** 5036,5049 ****
|
|
Karsten Hopp |
caaef3 |
t->pim, &listidx);
|
|
Karsten Hopp |
caaef3 |
break;
|
|
Karsten Hopp |
caaef3 |
|
|
Karsten Hopp |
caaef3 |
- #ifdef FEAT_VISUAL
|
|
Karsten Hopp |
caaef3 |
case NFA_VISUAL:
|
|
Karsten Hopp |
caaef3 |
result = reg_match_visual();
|
|
Karsten Hopp |
caaef3 |
if (result)
|
|
Karsten Hopp |
caaef3 |
addstate_here(thislist, t->state->out, &t->subs,
|
|
Karsten Hopp |
caaef3 |
t->pim, &listidx);
|
|
Karsten Hopp |
caaef3 |
- break;
|
|
Karsten Hopp |
caaef3 |
#endif
|
|
Karsten Hopp |
caaef3 |
|
|
Karsten Hopp |
caaef3 |
default: /* regular character */
|
|
Karsten Hopp |
caaef3 |
{
|
|
Karsten Hopp |
caaef3 |
--- 5028,5041 ----
|
|
Karsten Hopp |
caaef3 |
t->pim, &listidx);
|
|
Karsten Hopp |
caaef3 |
break;
|
|
Karsten Hopp |
caaef3 |
|
|
Karsten Hopp |
caaef3 |
case NFA_VISUAL:
|
|
Karsten Hopp |
caaef3 |
+ #ifdef FEAT_VISUAL
|
|
Karsten Hopp |
caaef3 |
result = reg_match_visual();
|
|
Karsten Hopp |
caaef3 |
if (result)
|
|
Karsten Hopp |
caaef3 |
addstate_here(thislist, t->state->out, &t->subs,
|
|
Karsten Hopp |
caaef3 |
t->pim, &listidx);
|
|
Karsten Hopp |
caaef3 |
#endif
|
|
Karsten Hopp |
caaef3 |
+ break;
|
|
Karsten Hopp |
caaef3 |
|
|
Karsten Hopp |
caaef3 |
default: /* regular character */
|
|
Karsten Hopp |
caaef3 |
{
|
|
Karsten Hopp |
caaef3 |
*** ../vim-7.3.1124/src/version.c 2013-06-05 20:34:07.000000000 +0200
|
|
Karsten Hopp |
caaef3 |
--- src/version.c 2013-06-05 21:06:18.000000000 +0200
|
|
Karsten Hopp |
caaef3 |
***************
|
|
Karsten Hopp |
caaef3 |
*** 730,731 ****
|
|
Karsten Hopp |
caaef3 |
--- 730,733 ----
|
|
Karsten Hopp |
caaef3 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
caaef3 |
+ /**/
|
|
Karsten Hopp |
caaef3 |
+ 1125,
|
|
Karsten Hopp |
caaef3 |
/**/
|
|
Karsten Hopp |
caaef3 |
|
|
Karsten Hopp |
caaef3 |
--
|
|
Karsten Hopp |
caaef3 |
From "know your smileys":
|
|
Karsten Hopp |
caaef3 |
(X0||) Double hamburger with lettuce and tomato
|
|
Karsten Hopp |
caaef3 |
|
|
Karsten Hopp |
caaef3 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
caaef3 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
caaef3 |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
caaef3 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|