diff options
Diffstat (limited to 'src/LexCPP.cxx')
| -rw-r--r-- | src/LexCPP.cxx | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/src/LexCPP.cxx b/src/LexCPP.cxx index c1bb1ff9a..39f458da7 100644 --- a/src/LexCPP.cxx +++ b/src/LexCPP.cxx @@ -113,7 +113,7 @@ static void ColouriseCppDoc(unsigned int startPos, int length, int initStyle, Wo  					sc.SetState(SCE_C_DEFAULT);  				}  			} else { -				if (sc.atLineEnd) { +				if ((sc.atLineEnd) || (sc.Match('/', '*')) || (sc.Match('/', '/'))) {  					sc.SetState(SCE_C_DEFAULT);  				}  			} | 
