Pass the correct symbol table to variable traverser
This commit is contained in:
@ -747,7 +747,7 @@ namespace elna::gcc
|
|||||||
{
|
{
|
||||||
this->current_expression = get_inner_alias(
|
this->current_expression = get_inner_alias(
|
||||||
this->info_table->lookup(declaration->identifier.identifier)->is_variable()->symbol,
|
this->info_table->lookup(declaration->identifier.identifier)->is_variable()->symbol,
|
||||||
this->symbols->scope());
|
this->symbols);
|
||||||
|
|
||||||
location_t declaration_location = get_location(&declaration->position());
|
location_t declaration_location = get_location(&declaration->position());
|
||||||
tree declaration_tree = build_decl(declaration_location, VAR_DECL,
|
tree declaration_tree = build_decl(declaration_location, VAR_DECL,
|
||||||
|
Reference in New Issue
Block a user