diff --git a/parser.hs b/parser.hs index c7f5d69..f124a64 100644 --- a/parser.hs +++ b/parser.hs @@ -16,7 +16,7 @@ languageDef = emptyDef {T.commentStart="{-", T.commentLine="--", T.nestedComments=True, T.identStart = letter <|> char '_', - T.identLetter = alphaNum <|> char '_', + T.identLetter = alphaNum <|> char '_' <|> char '\'' <|> char '!' <|> char '?', T.reservedNames = ["do", "end"], T.reservedOpNames = ["+", "-", "*", "/", "==", "!=", "<", ">"]}