summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvimboss <devnull@localhost>2008-01-02 14:35:30 +0000
committervimboss <devnull@localhost>2008-01-02 14:35:30 +0000
commit4043bd9013dd890a03cd6202991cd0bc38b01830 (patch)
tree49991fb0a24426c4be2944238d86da5ce4d90bf2
parent2dd7c830e2f5ebc8b2cbb9edfb2cb70430ee475f (diff)
downloadvim-4043bd9013dd890a03cd6202991cd0bc38b01830.tar.gz
updated for version 7.1-183v7.1.183v7-1-183
-rw-r--r--src/regexp.c10
-rw-r--r--src/version.c2
2 files changed, 7 insertions, 5 deletions
diff --git a/src/regexp.c b/src/regexp.c
index d61473c9..362ae53f 100644
--- a/src/regexp.c
+++ b/src/regexp.c
@@ -1288,8 +1288,7 @@ reg(paren, flagp)
}
/*
- * regbranch - one alternative of an | operator
- *
+ * Handle one alternative of an | operator.
* Implements the & operator.
*/
static char_u *
@@ -1330,8 +1329,7 @@ regbranch(flagp)
}
/*
- * regbranch - one alternative of an | or & operator
- *
+ * Handle one alternative of an | or & operator.
* Implements the concatenation operator.
*/
static char_u *
@@ -1708,6 +1706,8 @@ regatom(flagp)
case Magic('|'):
case Magic('&'):
case Magic(')'):
+ if (one_exactly)
+ EMSG_ONE_RET_NULL;
EMSG_RET_NULL(_(e_internal)); /* Supposed to be caught earlier. */
/* NOTREACHED */
@@ -3106,7 +3106,7 @@ static colnr_T ireg_maxcol;
* slow, we keep one allocated piece of memory and only re-allocate it when
* it's too small. It's freed in vim_regexec_both() when finished.
*/
-static char_u *reg_tofree;
+static char_u *reg_tofree = NULL;
static unsigned reg_tofreelen;
/*
diff --git a/src/version.c b/src/version.c
index db1d34fd..36b2f94d 100644
--- a/src/version.c
+++ b/src/version.c
@@ -667,6 +667,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 183,
+/**/
182,
/**/
181,