summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Lepiller <julien@lepiller.eu>2019-11-27 23:32:54 +0100
committerJulien Lepiller <julien@lepiller.eu>2019-11-30 15:50:46 +0100
commitc60d98d42d650f9b3d06a44efa8249cf598ac187 (patch)
tree1edd014d12cb6dd959524e399ff34af57f48c420
parent166001fdb9c3f3d912de25d6758c33f0868979f8 (diff)
downloadgnu-guix-c60d98d42d650f9b3d06a44efa8249cf598ac187.tar
gnu-guix-c60d98d42d650f9b3d06a44efa8249cf598ac187.tar.gz
guix: import: Fix opam importer.
* guix/import/opam.scm: Allow line breaks in strings.
-rw-r--r--guix/import/opam.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/guix/import/opam.scm b/guix/import/opam.scm
index 7f089a5cf3..7f5303f3e2 100644
--- a/guix/import/opam.scm
+++ b/guix/import/opam.scm
@@ -49,7 +49,7 @@
(define-peg-pattern COLON none ":")
;; A string character is any character that is not a quote, or a quote preceded by a backslash.
(define-peg-pattern STRCHR body
- (or " " "!" (and (ignore "\\") "\"")
+ (or " " "!" "\n" (and (ignore "\\") "\"")
(and (ignore "\\") "\\") (range #\# #\頋)))
(define-peg-pattern operator all (or "=" "!" "<" ">"))