forked from qt-creator/qt-creator
Accept T_COLON_COLON only for the first objc message arg.
This commit is contained in:
@@ -2741,7 +2741,7 @@ bool Parser::parseObjCSelectorExpression(ExpressionAST *&)
|
||||
|
||||
while (lookAtObjCSelector()) {
|
||||
parseObjCSelector();
|
||||
if (LA() == T_COLON || LA() == T_COLON_COLON)
|
||||
if (LA() == T_COLON)
|
||||
consumeToken();
|
||||
else {
|
||||
_translationUnit->error(cursor(),
|
||||
|
Reference in New Issue
Block a user