mirror of
https://github.com/Haskell-Things/ImplicitCAD.git
synced 2024-11-04 01:26:48 +03:00
do not try to match spaces before a pattern.
This commit is contained in:
parent
c2c5a7428c
commit
fd1ccd17d1
@ -97,10 +97,11 @@ suite = (fmap return computation <|> do
|
||||
stmts <- many (try computation)
|
||||
_ <- whiteSpace
|
||||
_ <- char '}'
|
||||
_ <- whiteSpace
|
||||
return stmts
|
||||
) <?> " suite"
|
||||
|
||||
-- | commenting out a comuptation: use % or * before the statement, and it will not be run.
|
||||
-- | commenting out a computation: use % or * before the statement, and it will not be run.
|
||||
throwAway :: GenParser Char st StatementI
|
||||
throwAway = do
|
||||
pos <- sourcePos
|
||||
|
Loading…
Reference in New Issue
Block a user