OcMod and OcRem are actually the same operator; kill OcMod

This commit is contained in:
Adam Sampson 2006-09-23 00:06:53 +00:00
parent 963ab7ade1
commit 2ae397f1e6
2 changed files with 1 additions and 2 deletions

View File

@ -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 }

View File

@ -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