Fix the parsing of "$"'s in strings.

This commit is contained in:
Guillaume Maudoux 2015-07-02 23:53:04 +02:00
parent 65e4dcd69b
commit 467977f203
3 changed files with 8 additions and 7 deletions

View file

@ -1 +1 @@
"foobar/a/b/c/d/foo/xyzzy/foo.txt/../foo/x/yescape: \"quote\" \n \\end\nof\nlinefoobarblaatfoo$bar"
"foobar/a/b/c/d/foo/xyzzy/foo.txt/../foo/x/yescape: \"quote\" \n \\end\nof\nlinefoobarblaatfoo$bar$\"$\"$"

View file

@ -8,3 +8,5 @@ of
line"
+ "foo${if true then "b${"a" + "r"}" else "xyzzy"}blaat"
+ "foo$bar"
+ "$\"$\""
+ "$"