mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 04:22:20 +02:00
Handle zero-sized enums (<= 1 member)
This commit is contained in:
parent
7b69509b7b
commit
14a3dd8e7d
21 changed files with 461 additions and 135 deletions
|
@ -1674,6 +1674,15 @@ void BfPrinter::Visit(BfTupleTypeRef* typeRef)
|
|||
VisitChild(typeRef->mCloseParen);
|
||||
}
|
||||
|
||||
void BfPrinter::Visit(BfTagTypeRef* typeRef)
|
||||
{
|
||||
Visit((BfAstNode*)typeRef);
|
||||
|
||||
VisitChild(typeRef->mTagNode);
|
||||
ExpectSpace();
|
||||
VisitChild(typeRef->mNameNode);
|
||||
}
|
||||
|
||||
void BfPrinter::Visit(BfDelegateTypeRef* typeRef)
|
||||
{
|
||||
Visit((BfAstNode*)typeRef);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue