forked from qt-creator/qt-creator
Merge remote-tracking branch 'origin/3.2'
Conflicts: src/plugins/qmldesigner/designercore/model/plaintexteditmodifier.cpp src/plugins/qmldesigner/designercore/model/texttomodelmerger.cpp Change-Id: I1627f6aa98a442413f8b08b579ecaf9647dc887b
This commit is contained in:
@@ -317,7 +317,12 @@ protected:
|
||||
}
|
||||
if (ast->identifierToken.isValid())
|
||||
addUse(ast->identifierToken, SemanticHighlighter::BindingNameType);
|
||||
scopedAccept(ast, ast->statement);
|
||||
if (ast->statement)
|
||||
scopedAccept(ast, ast->statement);
|
||||
if (ast->binding)
|
||||
// this is not strictly correct for Components, as their context depends from where they
|
||||
// are instantiated, but normally not too bad as approximation
|
||||
scopedAccept(ast, ast->binding);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user