mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-21 00:47:28 +01:00
Remove the obsolete Effect.RootCause concept
This commit is contained in:
1 parent
9741eada02
commit
5cae1f8c82
6 files changed
+19
-60
No files matched your search
+1
-5
@@ -1022,11 +1022,7 @@ func (p *parser) parseOperand() (*a.Expr, error) {
|
||||
return lhs, nil
|
||||
|
||||
case t.IDExclam, t.IDQuestion:
|
||||
e := p.parseEffect()
|
||||
if e != 0 {
|
||||
e |= a.EffectRootCause
|
||||
}
|
||||
flags |= e.AsFlags()
|
||||
flags |= p.parseEffect().AsFlags()
|
||||
fallthrough
|
||||
|
||||
case t.IDOpenParen:
|
||||
|
||||
Reference in new issue
Block a user