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:
@@ -2319,7 +2319,9 @@ check_linecomment(line)
|
|||||||
#endif
|
#endif
|
||||||
while ((p = vim_strchr(p, '/')) != NULL)
|
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;
|
break;
|
||||||
++p;
|
++p;
|
||||||
}
|
}
|
||||||
|
@@ -666,6 +666,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
178,
|
||||||
/**/
|
/**/
|
||||||
177,
|
177,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user