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

updated for version 7.1-178

This commit is contained in:
Bram Moolenaar
2008-01-01 14:43:35 +00:00
parent ee3f7a51c8
commit 78d4abaa93
2 changed files with 5 additions and 1 deletions

View File

@@ -2319,7 +2319,9 @@ check_linecomment(line)
#endif
while ((p = vim_strchr(p, '/')) != NULL)
{
if (p[1] == '/')
/* accept a double /, unless it's preceded with * and followed by *,
* because * / / * is an end and start of a C comment */
if (p[1] == '/' && (p == line || p[-1] != '*' || p[2] != '*'))
break;
++p;
}

View File

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