forked from qt-creator/qt-creator
Fixed semantic check for ObjC fast-enumeration for-loops, then merged it with the semantic check for the foreach.
This commit is contained in:
@@ -2433,7 +2433,7 @@ bool Parser::parseForStatement(StatementAST *&node)
|
||||
|
||||
parseExpression(ast->fast_enumeratable_expression);
|
||||
match(T_RPAREN, &ast->rparen_token);
|
||||
parseStatement(ast->body_statement);
|
||||
parseStatement(ast->statement);
|
||||
|
||||
node = ast;
|
||||
return true;
|
||||
|
Reference in New Issue
Block a user