add ' and ! to allowed identifier characters

This commit is contained in:
darkf 2013-10-24 00:17:21 -07:00
parent cf36d6da11
commit d275773bab
1 changed files with 1 additions and 1 deletions

View File

@ -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 = ["+", "-", "*", "/", "==", "!=", "<", ">"]}