Commit 47a85d5a authored by Roberto Raggi's avatar Roberto Raggi

Accept T_COLON_COLON only for the first objc message arg.

parent dd65867d
......@@ -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(),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment