OcMod and OcRem are actually the same operator; kill OcMod
This commit is contained in:
parent
963ab7ade1
commit
2ae397f1e6
|
@ -371,7 +371,7 @@ dyadicOperator
|
|||
<|> do { reservedOp "-" ; return $ OcSubtr }
|
||||
<|> do { reservedOp "*" ; return $ OcMul }
|
||||
<|> do { reservedOp "/" ; return $ OcDiv }
|
||||
<|> do { reservedOp "\\" ; return $ OcMod }
|
||||
<|> do { reservedOp "\\" ; return $ OcRem }
|
||||
<|> do { sREM ; return $ OcRem }
|
||||
<|> do { sPLUS ; return $ OcPlus }
|
||||
<|> do { sMINUS ; return $ OcMinus }
|
||||
|
|
|
@ -81,7 +81,6 @@ data Node =
|
|||
| OcSubtr Node Node
|
||||
| OcMul Node Node
|
||||
| OcDiv Node Node
|
||||
| OcMod Node Node
|
||||
| OcRem Node Node
|
||||
| OcPlus Node Node
|
||||
| OcMinus Node Node
|
||||
|
|
Loading…
Reference in New Issue
Block a user