imp:ledger-compat: accept lot costs with spaces after {, like Ledger
This commit is contained in:
parent
4b13af0634
commit
b4a6212453
@ -959,6 +959,7 @@ lotcostp =
|
||||
label "ledger-style lot cost" $ do
|
||||
char '{'
|
||||
doublebrace <- option False $ char '{' >> pure True
|
||||
lift skipNonNewlineSpaces
|
||||
_fixed <- fmap isJust $ optional $ lift skipNonNewlineSpaces >> char '='
|
||||
lift skipNonNewlineSpaces
|
||||
_a <- simpleamountp False
|
||||
|
||||
Loading…
Reference in New Issue
Block a user