The parser fails to parse strings with escaped quotation marks
anka-213 opened this issue · 2 comments
anka-213 commented
Currently, escaped quotation marks within strings are interpreted as the end of a string.
For example, if show gave this:
Foo "hello \" world!"
The parser would give back:
> parseExprs "Foo \"hello \\\"world!\""
([Other "Foo ",StringLit "hello \\",Other "world!",StringLit ""],"")
instead of the expected
([Other "Foo ",StringLit "hello \\\" world!"],"")
dminuoso commented
Would be great if you could push 2.2.0.1 to hackage to include this fix. :)
cdepillabout commented
@dminuoso Pushed it to Hackage!