mirror of
https://github.com/cc65/cc65.git
synced 2025-08-10 04:25:21 +00:00
Fixed full type names of functions with "empty" parameter list.
This commit is contained in:
@@ -133,7 +133,7 @@ static struct StrBuf* GetFullTypeNameWestEast (struct StrBuf* West, struct StrBu
|
|||||||
if ((F->Flags & FD_VARIADIC) == 0) {
|
if ((F->Flags & FD_VARIADIC) == 0) {
|
||||||
if (F->ParamCount > 0) {
|
if (F->ParamCount > 0) {
|
||||||
SB_AppendStr (&ParamList, SB_GetConstBuf (GetFullTypeNameBuf (&Buf, Param->Type)));
|
SB_AppendStr (&ParamList, SB_GetConstBuf (GetFullTypeNameBuf (&Buf, Param->Type)));
|
||||||
} else {
|
} else if ((F->Flags & FD_EMPTY) == 0) {
|
||||||
SB_AppendStr (&ParamList, "void");
|
SB_AppendStr (&ParamList, "void");
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
Reference in New Issue
Block a user