Skip to content
Snippets Groups Projects
Commit d7b59b50 authored by Roberto Raggi's avatar Roberto Raggi
Browse files

No declSymbol, no party

parent 33fedfea
Branches
Tags
No related merge requests found
...@@ -62,8 +62,10 @@ QList<int> FindUsages::operator()(Symbol *symbol, Identifier *id, AST *ast) ...@@ -62,8 +62,10 @@ QList<int> FindUsages::operator()(Symbol *symbol, Identifier *id, AST *ast)
_references.clear(); _references.clear();
_declSymbol = symbol; _declSymbol = symbol;
_id = id; _id = id;
if (_declSymbol && _id) {
_exprDoc = Document::create("<references>"); _exprDoc = Document::create("<references>");
accept(ast); accept(ast);
}
return _references; return _references;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment