Accept T_COLON_COLON only for the first objc message arg.

This commit is contained in:
Roberto Raggi
2009-02-06 16:28:00 +01:00
parent dd65867d17
commit 47a85d5a42

View File

@@ -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(),