1
0
forked from aniani/vim

updated for version 7.3.179

Problem:    C-indent doesn't handle colon in string correctly.
Solution:   Skip the string. (Lech Lorens)
This commit is contained in:
Bram Moolenaar
2011-05-10 11:56:30 +02:00
parent 4ae06c1fa5
commit aede6ceba3
4 changed files with 27 additions and 1 deletions

View File

@@ -5801,7 +5801,9 @@ cin_is_cpp_baseclass(col)
continue;
}
if (s[0] == ':')
if (s[0] == '"')
s = skip_string(s) + 1;
else if (s[0] == ':')
{
if (s[1] == ':')
{