parse comment lines beginning with a space, as from M-; in emacs ledger-mode

This commit is contained in:
Simon Michael 2008-10-18 10:54:22 +00:00
parent 7879ca63ca
commit 64c6082c23

View File

@ -191,6 +191,7 @@ blankline =
commentline :: Parser String commentline :: Parser String
commentline = do commentline = do
many spacenonewline
char ';' <?> "comment line" char ';' <?> "comment line"
l <- restofline l <- restofline
return $ ";" ++ l return $ ";" ++ l