generate: Add bool data structure
This commit is contained in:
parent
cdfccb0f1c
commit
2ee954e18f
@ -49,6 +49,12 @@ func (typ TypeFloat) String() string {
|
||||
return fmt.Sprintf("F%d", typ.Bits)
|
||||
}
|
||||
|
||||
type TypeBool struct { }
|
||||
|
||||
func (TypeBool) String() string {
|
||||
return "Bool"
|
||||
}
|
||||
|
||||
type TypeString struct { }
|
||||
|
||||
func (TypeString) String() string {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user