aboutsummaryrefslogtreecommitdiff
path: root/srcpkgs/guile-wisp/patches/escape.patch
diff options
context:
space:
mode:
Diffstat (limited to 'srcpkgs/guile-wisp/patches/escape.patch')
-rw-r--r--srcpkgs/guile-wisp/patches/escape.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/srcpkgs/guile-wisp/patches/escape.patch b/srcpkgs/guile-wisp/patches/escape.patch
new file mode 100644
index 00000000000..b70da5f4e40
--- /dev/null
+++ b/srcpkgs/guile-wisp/patches/escape.patch
@@ -0,0 +1,11 @@
+--- a/wisp.py
++++ b/wisp.py
+@@ -101,7 +101,7 @@
+ line = (i)*" " + line[i:]
+ # \_ escapes the underscore at the beginning of a line, so you
+ # can use identifiers which only consist of underscores.
+- elif line.startswith("\_"):
++ elif line.startswith("\\_"):
+ line = "_" + line[2:]
+
+ #: prefix to go around the outer bracket: '(, ,( or `(