1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-30 21:55:31 +02:00

Partial fix for 76480 - [Content assist] shouldn't work on scope operator in C code

This commit is contained in:
John Camelon 2004-10-20 15:08:44 +00:00
parent 2b91044082
commit 07a8507a81

View file

@ -661,7 +661,7 @@ public class Scanner2 implements IScanner, IScannerData {
case ':':
if (pos + 1 < limit) {
if (buffer[pos + 1] == ':') {
if (buffer[pos + 1] == ':' && getLanguage() == ParserLanguage.CPP ) {
++bufferPos[bufferStackPos];
return newToken(IToken.tCOLONCOLON );
}