0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

updated for version 7.0093

This commit is contained in:
Bram Moolenaar
2005-06-25 23:04:51 +00:00
parent ea408854a8
commit f461c8e7f8
49 changed files with 1559 additions and 306 deletions

View File

@@ -373,7 +373,15 @@ re_multi_type(c)
*/
#define JUST_CALC_SIZE ((char_u *) -1)
static char_u *reg_prev_sub;
static char_u *reg_prev_sub = NULL;
#if defined(EXITFREE) || defined(PROTO)
void
free_regexp_stuff()
{
vim_free(reg_prev_sub);
}
#endif
/*
* REGEXP_INRANGE contains all characters which are always special in a []
@@ -1700,7 +1708,7 @@ regatom(flagp)
/* NOTREACHED */
case Magic('~'): /* previous substitute pattern */
if (reg_prev_sub)
if (reg_prev_sub != NULL)
{
char_u *lp;