Skip to content

Commit e23785d

Browse files
Make #anon symbols have consistent naming between base_name and name
1 parent a138211 commit e23785d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ansi-c/c_typecheck_type.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -769,7 +769,7 @@ void c_typecheck_baset::typecheck_compound_type(struct_union_typet &type)
769769
typecheck_compound_body(to_struct_union_type(compound_symbol.type));
770770

771771
std::string typestr = type2name(compound_symbol.type, *this);
772-
compound_symbol.base_name="#anon-"+typestr;
772+
compound_symbol.base_name="#anon#"+typestr;
773773
compound_symbol.name="tag-#anon#"+typestr;
774774
identifier=compound_symbol.name;
775775

0 commit comments

Comments
 (0)