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:
parent
c9586b6c3f
commit
de90fdf908
3 changed files with 7 additions and 2 deletions
|
@ -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")
|
||||
|
|
|
@ -7,3 +7,4 @@
|
|||
of
|
||||
line"
|
||||
+ "foo${if true then "b${"a" + "r"}" else "xyzzy"}blaat"
|
||||
+ "foo$bar"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue