parent
5210f3d05f
commit
09007174da
|
@ -2491,7 +2491,8 @@ do_type (work, mangled, result)
|
||||||
case 'A':
|
case 'A':
|
||||||
{
|
{
|
||||||
++(*mangled);
|
++(*mangled);
|
||||||
if (!STRING_EMPTY (&decl) && decl.b[0] == '*')
|
if (!STRING_EMPTY (&decl)
|
||||||
|
&& (decl.b[0] == '*' || decl.b[0] == '&'))
|
||||||
{
|
{
|
||||||
string_prepend (&decl, "(");
|
string_prepend (&decl, "(");
|
||||||
string_append (&decl, ")");
|
string_append (&decl, ")");
|
||||||
|
@ -2523,7 +2524,8 @@ do_type (work, mangled, result)
|
||||||
/* A function */
|
/* A function */
|
||||||
case 'F':
|
case 'F':
|
||||||
(*mangled)++;
|
(*mangled)++;
|
||||||
if (!STRING_EMPTY (&decl) && decl.b[0] == '*')
|
if (!STRING_EMPTY (&decl)
|
||||||
|
&& (decl.b[0] == '*' || decl.b[0] == '&'))
|
||||||
{
|
{
|
||||||
string_prepend (&decl, "(");
|
string_prepend (&decl, "(");
|
||||||
string_append (&decl, ")");
|
string_append (&decl, ")");
|
||||||
|
|
Loading…
Reference in New Issue