mirror of
https://github.com/NixOS/nix
synced 2025-07-07 18:31:49 +02:00
parser: Remove empty multiline string parts earlier
Makes parsing more consistent and is a super minor optimisation Co-authored-by: Robert Hensing <roberth@users.noreply.github.com>
This commit is contained in:
parent
9fae50ed4b
commit
0c91bb97e5
2 changed files with 13 additions and 2 deletions
|
@ -1 +1 @@
|
|||
(let string = "str"; in [ (/some/path) ((/some/path)) (("" + /some/path)) ((/some/path + "\n end")) (string) ((string)) (("" + string)) ((string + "\n end")) ("") ("") ("end") ])
|
||||
(let string = "str"; in [ (/some/path) ((/some/path)) ((/some/path)) ((/some/path + "\n end")) (string) ((string)) ((string)) ((string + "\n end")) ("") ("") ("end") ])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue