if/then/else is working, next to do is "inherit"

This commit is contained in:
John Wiegley 2014-07-04 16:24:47 -05:00
parent bb378af269
commit 5b8ef9997d
1 changed files with 2 additions and 1 deletions

View File

@ -153,7 +153,8 @@ reservedNames =
]
stopWords :: Parser ()
stopWords = () <$ (reserved "in" <|> reserved "then" <|> reserved "else")
stopWords = () <$
(whiteSpace *> (reserved "in" <|> reserved "then" <|> reserved "else"))
someTill :: Parser a -> Parser end -> Parser [a]
someTill p end = go