Remove the unused &^ AmpHat operator

This commit is contained in:
Nigel Tao committed 2018-04-26 11:24:27 +10:00
1 parent 95815036ba
commit 7f0923a9cf
7 files changed
+33 -51

No files matched your search

+1 -1
View File
@@ -81,7 +81,7 @@ func (g *gen) writeStatement(b *buffer, n *a.Node, depth uint32) error {
if err := g.writeExpr(b, n.LHS(), replaceCallSuspendibles, parenthesesMandatory, depth); err != nil {
return err
}
// TODO: `~sat+=`, `~sat-=` and `&^=` need special consideration.
// TODO: `~sat+=` and `~sat-=` need special consideration.
op := n.Operator()
opName := cOpNames[0xFF&op]
if opName == "" {