mirror of
https://github.com/cc65/cc65.git
synced 2025-01-02 09:34:22 +00:00
Reverted one of the changes in how function prototypes look, in cc65's assembly output.
This commit is contained in:
parent
52f5854813
commit
2842b68a04
@ -290,18 +290,18 @@ void PrintType (FILE* F, const Type* T)
|
||||
fprintf (F, "union %s", ((SymEntry*) T->A.P)->Name);
|
||||
break;
|
||||
case T_TYPE_ARRAY:
|
||||
if (T->A.L == UNSPECIFIED) {
|
||||
fprintf (F, "[] ");
|
||||
} else {
|
||||
fprintf (F, "[%ld] ", T->A.L);
|
||||
}
|
||||
/* Recursive call */
|
||||
PrintType (F, T + 1);
|
||||
if (T->A.L == UNSPECIFIED) {
|
||||
fprintf (F, " []");
|
||||
} else {
|
||||
fprintf (F, " [%ld]", T->A.L);
|
||||
}
|
||||
return;
|
||||
case T_TYPE_PTR:
|
||||
fprintf (F, "* ");
|
||||
/* Recursive call */
|
||||
PrintType (F, T + 1);
|
||||
fprintf (F, " *");
|
||||
return;
|
||||
case T_TYPE_FUNC:
|
||||
fprintf (F, "function returning ");
|
||||
|
Loading…
Reference in New Issue
Block a user