aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Parser.hs
diff options
context:
space:
mode:
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 29f40b9..dc6951a 100644
--- a/src/Parser.hs
+++ b/src/Parser.hs
@@ -24,7 +24,7 @@ symbol = L.symbol sc
identifier :: Parser String
identifier = lexeme
- ((:) <$> (letterChar <|> char '_') <*> many (alphaNumChar <|> oneOf "?!'_"))
+ ((:) <$> (letterChar <|> char '_') <*> many (alphaNumChar <|> oneOf "?!'_-"))
parens :: Parser a -> Parser a
parens = between (symbol "(") (symbol ")")