From 3305141206ffc4ea73fd5c5e8e3bd44078010fee Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Thu, 27 May 2010 00:56:35 +0000 Subject: [PATCH] parsing: allow spaces in double-quoted commodity symbols --- hledger-lib/Hledger/Data/Parse.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hledger-lib/Hledger/Data/Parse.hs b/hledger-lib/Hledger/Data/Parse.hs index cfb056b1d..1f741e11f 100644 --- a/hledger-lib/Hledger/Data/Parse.hs +++ b/hledger-lib/Hledger/Data/Parse.hs @@ -552,7 +552,7 @@ commoditysymbol = (quotedcommoditysymbol <|> quotedcommoditysymbol :: GenParser Char st String quotedcommoditysymbol = do char '"' - s <- many1 $ noneOf "-.@;\n \"" + s <- many1 $ noneOf "-.@;\n\"" char '"' return s