guix: import: Fix opam importer.
* guix/import/opam.scm: Allow line breaks in strings.
This commit is contained in:
parent
166001fdb9
commit
c60d98d42d
@ -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 "=" "!" "<" ">"))
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user