|
Karsten Hopp |
d101c4 |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
d101c4 |
Subject: Patch 7.3.1107
|
|
Karsten Hopp |
d101c4 |
Fcc: outbox
|
|
Karsten Hopp |
d101c4 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
d101c4 |
Mime-Version: 1.0
|
|
Karsten Hopp |
d101c4 |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
d101c4 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
d101c4 |
------------
|
|
Karsten Hopp |
d101c4 |
|
|
Karsten Hopp |
d101c4 |
Patch 7.3.1107
|
|
Karsten Hopp |
d101c4 |
Problem: Compiler warnings for unused variables.
|
|
Karsten Hopp |
d101c4 |
Solution: Put the variables inside #ifdef.
|
|
Karsten Hopp |
d101c4 |
Files: src/regexp.c, src/regexp_nfa.c
|
|
Karsten Hopp |
d101c4 |
|
|
Karsten Hopp |
d101c4 |
|
|
Karsten Hopp |
d101c4 |
*** ../vim-7.3.1106/src/regexp.c 2013-06-02 15:01:51.000000000 +0200
|
|
Karsten Hopp |
d101c4 |
--- src/regexp.c 2013-06-03 19:38:46.000000000 +0200
|
|
Karsten Hopp |
d101c4 |
***************
|
|
Karsten Hopp |
d101c4 |
*** 361,368 ****
|
|
Karsten Hopp |
d101c4 |
--- 361,370 ----
|
|
Karsten Hopp |
d101c4 |
static char_u e_unmatchedpp[] = N_("E53: Unmatched %s%%(");
|
|
Karsten Hopp |
d101c4 |
static char_u e_unmatchedp[] = N_("E54: Unmatched %s(");
|
|
Karsten Hopp |
d101c4 |
static char_u e_unmatchedpar[] = N_("E55: Unmatched %s)");
|
|
Karsten Hopp |
d101c4 |
+ #ifdef FEAT_SYN_HL
|
|
Karsten Hopp |
d101c4 |
static char_u e_z_not_allowed[] = N_("E66: \\z( not allowed here");
|
|
Karsten Hopp |
d101c4 |
static char_u e_z1_not_allowed[] = N_("E67: \\z1 et al. not allowed here");
|
|
Karsten Hopp |
d101c4 |
+ #endif
|
|
Karsten Hopp |
d101c4 |
|
|
Karsten Hopp |
d101c4 |
#define NOT_MULTI 0
|
|
Karsten Hopp |
d101c4 |
#define MULTI_ONE 1
|
|
Karsten Hopp |
d101c4 |
*** ../vim-7.3.1106/src/regexp_nfa.c 2013-06-03 12:17:00.000000000 +0200
|
|
Karsten Hopp |
d101c4 |
--- src/regexp_nfa.c 2013-06-03 19:39:55.000000000 +0200
|
|
Karsten Hopp |
d101c4 |
***************
|
|
Karsten Hopp |
d101c4 |
*** 237,244 ****
|
|
Karsten Hopp |
d101c4 |
--- 237,246 ----
|
|
Karsten Hopp |
d101c4 |
/* NFA regexp \1 .. \9 encountered. */
|
|
Karsten Hopp |
d101c4 |
static int nfa_has_backref;
|
|
Karsten Hopp |
d101c4 |
|
|
Karsten Hopp |
d101c4 |
+ #ifdef FEAT_SYN_HL
|
|
Karsten Hopp |
d101c4 |
/* NFA regexp has \z( ), set zsubexpr. */
|
|
Karsten Hopp |
d101c4 |
static int nfa_has_zsubexpr;
|
|
Karsten Hopp |
d101c4 |
+ #endif
|
|
Karsten Hopp |
d101c4 |
|
|
Karsten Hopp |
d101c4 |
/* Number of sub expressions actually being used during execution. 1 if only
|
|
Karsten Hopp |
d101c4 |
* the whole match (subexpr 0) is used. */
|
|
Karsten Hopp |
d101c4 |
***************
|
|
Karsten Hopp |
d101c4 |
*** 420,426 ****
|
|
Karsten Hopp |
d101c4 |
if (*p == '^')
|
|
Karsten Hopp |
d101c4 |
{
|
|
Karsten Hopp |
d101c4 |
not = TRUE;
|
|
Karsten Hopp |
d101c4 |
! p ++;
|
|
Karsten Hopp |
d101c4 |
}
|
|
Karsten Hopp |
d101c4 |
|
|
Karsten Hopp |
d101c4 |
while (p < end)
|
|
Karsten Hopp |
d101c4 |
--- 422,428 ----
|
|
Karsten Hopp |
d101c4 |
if (*p == '^')
|
|
Karsten Hopp |
d101c4 |
{
|
|
Karsten Hopp |
d101c4 |
not = TRUE;
|
|
Karsten Hopp |
d101c4 |
! p++;
|
|
Karsten Hopp |
d101c4 |
}
|
|
Karsten Hopp |
d101c4 |
|
|
Karsten Hopp |
d101c4 |
while (p < end)
|
|
Karsten Hopp |
d101c4 |
*** ../vim-7.3.1106/src/version.c 2013-06-03 12:17:00.000000000 +0200
|
|
Karsten Hopp |
d101c4 |
--- src/version.c 2013-06-03 19:39:34.000000000 +0200
|
|
Karsten Hopp |
d101c4 |
***************
|
|
Karsten Hopp |
d101c4 |
*** 730,731 ****
|
|
Karsten Hopp |
d101c4 |
--- 730,733 ----
|
|
Karsten Hopp |
d101c4 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
d101c4 |
+ /**/
|
|
Karsten Hopp |
d101c4 |
+ 1107,
|
|
Karsten Hopp |
d101c4 |
/**/
|
|
Karsten Hopp |
d101c4 |
|
|
Karsten Hopp |
d101c4 |
--
|
|
Karsten Hopp |
d101c4 |
hundred-and-one symptoms of being an internet addict:
|
|
Karsten Hopp |
d101c4 |
70. ISDN lines are added to your house on a hourly basis
|
|
Karsten Hopp |
d101c4 |
|
|
Karsten Hopp |
d101c4 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
d101c4 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
d101c4 |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
d101c4 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|