aboutsummaryrefslogtreecommitdiffstats
path: root/.parse-deps
diff options
context:
space:
mode:
Diffstat (limited to '.parse-deps')
-rwxr-xr-x.parse-deps6
1 files changed, 4 insertions, 2 deletions
diff --git a/.parse-deps b/.parse-deps
index cad20d9..e8dc74b 100755
--- a/.parse-deps
+++ b/.parse-deps
@@ -4,12 +4,14 @@
# collapse lines
:loop
/\\$/ {
+ s|///*|/|g
+ s|$|//|
N
- s/ \\\n//
+ s|\\//. *||
b loop
}
# split on unescaped spaces
-s/\([^\]\) /\1\
+s/\([^\]\) */\1\
/g
# unescape spaces
s/\\ / /g