guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

15/16: guix: import: Fix opam importer.


From: guix-commits
Subject: 15/16: guix: import: Fix opam importer.
Date: Sat, 30 Nov 2019 09:51:50 -0500 (EST)

roptat pushed a commit to branch master
in repository guix.

commit c60d98d42d650f9b3d06a44efa8249cf598ac187
Author: Julien Lepiller <address@hidden>
Date:   Wed Nov 27 23:32:54 2019 +0100

    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(-)

diff --git a/guix/import/opam.scm b/guix/import/opam.scm
index 7f089a5..7f5303f 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 "=" "!" "<" ">"))
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]