Fix symbol type for simple anonymous aliases
This commit is contained in:
parent
6caa19d912
commit
e56d17a806
1 changed files with 1 additions and 1 deletions
|
|
@ -781,7 +781,7 @@ class CCodeGenerator {
|
||||||
|
|
||||||
auto simple_alias_entry = simple_aliases.find(symbol);
|
auto simple_alias_entry = simple_aliases.find(symbol);
|
||||||
if (simple_alias_entry != simple_aliases.end()) {
|
if (simple_alias_entry != simple_aliases.end()) {
|
||||||
return simple_alias_entry->second.is_named ? VariableTypeNamed : VariableTypeHidden;
|
return simple_alias_entry->second.is_named ? VariableTypeNamed : VariableTypeAnonymous;
|
||||||
}
|
}
|
||||||
|
|
||||||
return entry_for_symbol(symbol).second;
|
return entry_for_symbol(symbol).second;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue