Mark gif methods as !? not !??

This commit is contained in:
Nigel Tao committed 2018-11-24 21:22:25 +11:00
1 parent 4ff64de78e
commit 248436c231
4 files changed
+18 -21

No files matched your search

+2
View File
@@ -268,6 +268,8 @@ func (g *gen) writeResumeSuspend1(b *buffer, f *funk, n *a.Var, suspend bool, in
zero := "0"
if typ.QID() == (t.QID{t.IDBase, t.IDBool}) {
zero = "false"
} else if typ.QID() == (t.QID{t.IDBase, t.IDStatus}) {
zero = "NULL"
}
b.printf("%s = %s;\n", local, zero)
}