Prevent "(%runTactics foo)" from being an operator

Previously it was parsed as the application of an unknown operator (%)
in a section.
This commit is contained in:
David Raymond Christiansen 2015-03-02 16:57:28 +01:00
parent e9ff42dc1b
commit 7c1dc9808e

View File

@ -326,7 +326,7 @@ commentMarkers :: [String]
commentMarkers = [ "--", "|||" ]
invalidOperators :: [String]
invalidOperators = [":", "=>", "->", "<-", "=", "?=", "|", "**", "==>", "\\"]
invalidOperators = [":", "=>", "->", "<-", "=", "?=", "|", "**", "==>", "\\", "%"]
-- | Parses an operator
operator :: MonadicParsing m => m String