1
0
mirror of https://github.com/cc65/cc65.git synced 2025-01-26 17:36:57 +00:00

Fixed full type names of functions with "empty" parameter list.

This commit is contained in:
acqn 2020-08-08 06:46:22 +08:00 committed by Oliver Schmidt
parent 68d63b089d
commit 9fcfa3fc49

View File

@ -133,7 +133,7 @@ static struct StrBuf* GetFullTypeNameWestEast (struct StrBuf* West, struct StrBu
if ((F->Flags & FD_VARIADIC) == 0) {
if (F->ParamCount > 0) {
SB_AppendStr (&ParamList, SB_GetConstBuf (GetFullTypeNameBuf (&Buf, Param->Type)));
} else {
} else if ((F->Flags & FD_EMPTY) == 0) {
SB_AppendStr (&ParamList, "void");
}
} else {