mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-19 00:38:14 +01:00
Rename Struct.Optional to Struct.Classy
This commit is contained in:
1 parent
7fc98dee00
commit
db04cf346f
4 files changed
+16
-11
No files matched your search
+1
-1
@@ -269,7 +269,7 @@ func (p *parser) parseTopLevelDecl() (*a.Node, error) {
|
||||
}
|
||||
|
||||
if p.peek1() == t.IDQuestion {
|
||||
flags |= a.EffectOptional.AsFlags()
|
||||
flags |= a.FlagsClassy
|
||||
p.src = p.src[1:]
|
||||
}
|
||||
fields, err := p.parseList(t.IDCloseParen, (*parser).parseFieldNode)
|
||||
|
||||
Reference in new issue
Block a user