Commit 928c6874 authored by Roberto Raggi's avatar Roberto Raggi
Browse files

Set the right context when processing decl-specifiers.

parent 4d07a9bd
......@@ -662,7 +662,9 @@ bool CheckSymbols::visit(MemInitializerAST *ast)
bool CheckSymbols::visit(FunctionDefinitionAST *ast)
AST *thisFunction = _astStack.takeLast();
if (ast->declarator && ast->symbol && ! ast->symbol->isGenerated()) {
Function *fun = ast->symbol;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment