1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-08 19:23:54 +02:00

* Allow "$" in strings as long as they are not followed by "{". (Too

bad flex doesn't have lexical restrictions, the current solution
  isn't quite right...)
This commit is contained in:
Eelco Dolstra 2006-09-01 12:04:06 +00:00
parent c9586b6c3f
commit de90fdf908
3 changed files with 7 additions and 2 deletions

View file

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

View file

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