From c60d98d42d650f9b3d06a44efa8249cf598ac187 Mon Sep 17 00:00:00 2001 From: Julien Lepiller Date: Wed, 27 Nov 2019 23:32:54 +0100 Subject: guix: import: Fix opam importer. * guix/import/opam.scm: Allow line breaks in strings. --- guix/import/opam.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'guix/import') 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 "=" "!" "<" ">")) -- cgit v1.2.3