Add function body to ZCC_FuncDeclarator
This commit is contained in:
parent
572823046c
commit
6088acd4c0
3 changed files with 4 additions and 1 deletions
|
|
@ -548,7 +548,8 @@ static void PrintFuncDeclarator(FString &out, ZCC_TreeNode *node)
|
|||
out << "\n(func-declarator ";
|
||||
PrintNodes(out, dnode->Type);
|
||||
out.AppendFormat("%x %s ", dnode->Flags, FName(dnode->Name).GetChars());
|
||||
PrintNodes(out, dnode->Params, ')');
|
||||
PrintNodes(out, dnode->Params, ' ');
|
||||
PrintNodes(out, dnode->Body, ')');
|
||||
out << '\n';
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue