mirror of
https://github.com/ilyakooo0/Idris-dev.git
synced 2024-09-22 06:29:37 +03:00
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:
parent
e9ff42dc1b
commit
7c1dc9808e
@ -326,7 +326,7 @@ commentMarkers :: [String]
|
||||
commentMarkers = [ "--", "|||" ]
|
||||
|
||||
invalidOperators :: [String]
|
||||
invalidOperators = [":", "=>", "->", "<-", "=", "?=", "|", "**", "==>", "\\"]
|
||||
invalidOperators = [":", "=>", "->", "<-", "=", "?=", "|", "**", "==>", "\\", "%"]
|
||||
|
||||
-- | Parses an operator
|
||||
operator :: MonadicParsing m => m String
|
||||
|
Loading…
Reference in New Issue
Block a user