;dev: lotcostp: cleanup
This commit is contained in:
parent
b4a6212453
commit
96f9c1d2b2
@ -960,7 +960,7 @@ lotcostp =
|
||||
char '{'
|
||||
doublebrace <- option False $ char '{' >> pure True
|
||||
lift skipNonNewlineSpaces
|
||||
_fixed <- fmap isJust $ optional $ lift skipNonNewlineSpaces >> char '='
|
||||
_fixed <- fmap isJust $ optional $ char '='
|
||||
lift skipNonNewlineSpaces
|
||||
_a <- simpleamountp False
|
||||
lift skipNonNewlineSpaces
|
||||
|
||||
@ -76,6 +76,7 @@ type TextParser m a = ParsecT HledgerParseErrorData Text m a
|
||||
-- and current parser state (position and next input).
|
||||
-- See also: Hledger.Utils.Debug, megaparsec's dbg.
|
||||
-- Uses unsafePerformIO.
|
||||
-- XXX Can be hard to make this evaluate.
|
||||
traceOrLogParse :: String -> TextParser m ()
|
||||
traceOrLogParse msg = do
|
||||
pos <- getSourcePos
|
||||
|
||||
Loading…
Reference in New Issue
Block a user