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:
parent
2b91044082
commit
07a8507a81
1 changed files with 1 additions and 1 deletions
|
@ -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 );
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue