parsing: allow spaces in double-quoted commodity symbols
This commit is contained in:
parent
856f1f965a
commit
3305141206
@ -552,7 +552,7 @@ commoditysymbol = (quotedcommoditysymbol <|>
|
|||||||
quotedcommoditysymbol :: GenParser Char st String
|
quotedcommoditysymbol :: GenParser Char st String
|
||||||
quotedcommoditysymbol = do
|
quotedcommoditysymbol = do
|
||||||
char '"'
|
char '"'
|
||||||
s <- many1 $ noneOf "-.@;\n \""
|
s <- many1 $ noneOf "-.@;\n\""
|
||||||
char '"'
|
char '"'
|
||||||
return s
|
return s
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user