aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Parser.hs
diff options
context:
space:
mode:
authorMarvin Borner2022-08-17 14:15:22 +0200
committerMarvin Borner2022-08-17 14:15:22 +0200
commitfee84dce1ed2ac8448b93b7bfaff934bd3c72041 (patch)
tree43ca66d3cce234a0278b844e81fce0496f62a82b /src/Parser.hs
parentd7e6c86554acc2bf92d3adb40863d1f7351f8918 (diff)
Many additional functions
Diffstat (limited to 'src/Parser.hs')
-rw-r--r--src/Parser.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Parser.hs b/src/Parser.hs
index ddd74e2..9a4a793 100644
--- a/src/Parser.hs
+++ b/src/Parser.hs
@@ -18,7 +18,7 @@ sc :: Parser ()
sc = void $ char ' '
specialChar :: Parser Char
-specialChar = oneOf "!?*@.:;+-_#$%^&<>/|~='"
+specialChar = oneOf "!?*@.:;+-_#$%^&<>/\\|~='"
infixOperator :: Parser String
infixOperator = some specialChar