Commit 50992544 authored by yb9976's avatar yb9976
Browse files

Revert "ident: Remove the unused function id_mangle_3()."

This reverts commit fb45ad91.
parent 6266879a
......@@ -37,6 +37,15 @@ ident *id_mangle3(char const *const prefix, ident *const middle, char const *con
return new_ident_from_obst(&mangle_obst);
}
/** Returns a new ident that represents first<c>scnd. */
static ident *id_mangle_3(ident *first, char c, ident *scnd)
{
grow_string(first);
obstack_1grow(&mangle_obst, c);
grow_string(scnd);
return new_ident_from_obst(&mangle_obst);
}
void firm_init_mangle(void)
{
obstack_init(&mangle_obst);
......
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