Don't highlight local symbols in ambiguous nodes.

This commit is contained in:
Roberto Raggi
2009-10-09 11:21:29 +02:00
parent f820c1c776
commit 659a231a04

View File

@@ -352,6 +352,24 @@ protected:
accept(ast->name);
return false;
}
virtual bool visit(ExpressionOrDeclarationStatementAST *ast)
{
accept(ast->declaration);
return false;
}
virtual bool visit(FunctionDeclaratorAST *ast)
{
accept(ast->parameters);
for (SpecifierAST *spec = ast->cv_qualifier_seq; spec; spec = spec->next)
accept(spec);
accept(ast->exception_specification);
return false;
}
};