@@ -21,7 +21,7 @@ import qualified Reporting.Annotation as A
21infixOp :: IParser String
21infixOp :: IParser String
23 expecting "an infix operator like (+)" $
23 expecting "an infix operator like (+)" $
24− do op <- many1 (satisfy (\c -> Help.isSymbol c && c /= '`'))
24+ do op <- many1 (satisfy (\c -> Help.isSymbol c))
25 guard (op `notElem` [ "=", "->", "--", "|", ":" ])
25 guard (op `notElem` [ "=", "->", "--", "|", ":" ])
26 case op of
26 case op of
27 "." -> notFollowedBy lower >> return op
27 "." -> notFollowedBy lower >> return op