mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-25 00:55:11 +01:00
Delete old limit- and mark-related code.
This commit is contained in:
1 parent
aa396e7992
commit
cbc8c39375
12 files changed
+10
-167
No files matched your search
@@ -241,10 +241,6 @@ func (q *checker) bcheckStatement(n *a.Node) error {
|
||||
_, _, err := q.bcheckExpr(n.Expr(), 0)
|
||||
return err
|
||||
|
||||
case a.KIO:
|
||||
_, _, err := q.bcheckExpr(n.IO().Value(), 0)
|
||||
return err
|
||||
|
||||
case a.KIf:
|
||||
return q.bcheckIf(n.If())
|
||||
|
||||
@@ -889,9 +885,6 @@ func (q *checker) bcheckExprOther(n *a.Expr, depth uint32) (*big.Int, *big.Int,
|
||||
return nil, nil, err
|
||||
}
|
||||
|
||||
case t.KeyLimit:
|
||||
return nil, nil, nil
|
||||
|
||||
default:
|
||||
return nil, nil, fmt.Errorf("check: unrecognized token.Key (0x%X) for bcheckExprOther", n.ID0().Key())
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user