0
0
mirror of https://github.com/vim/vim.git synced 2025-09-28 04:24:06 -04:00

updated for version 7.3.802

Problem:    After setting 'isk' to a value ending in a comma appending to the
            option fails.
Solution:   Disallow a trailing comma for 'isk' and similar options.
This commit is contained in:
Bram Moolenaar
2013-02-06 16:26:26 +01:00
parent 530e7dfafd
commit 309379fc98
2 changed files with 7 additions and 0 deletions

View File

@@ -284,7 +284,12 @@ buf_init_chartab(buf, global)
}
++c;
}
c = *p;
p = skip_to_option_part(p);
if (c == ',' && *p == NUL)
/* Trailing comma is not allowed. */
return FAIL;
}
}
chartab_initialized = TRUE;

View File

@@ -725,6 +725,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
802,
/**/
801,
/**/