guix: import: Fix opam importer.
* guix/import/opam.scm: Allow line breaks in strings.
This commit is contained in:
parent
166001fdb9
commit
c60d98d42d
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@
|
||||||
(define-peg-pattern COLON none ":")
|
(define-peg-pattern COLON none ":")
|
||||||
;; A string character is any character that is not a quote, or a quote preceded by a backslash.
|
;; A string character is any character that is not a quote, or a quote preceded by a backslash.
|
||||||
(define-peg-pattern STRCHR body
|
(define-peg-pattern STRCHR body
|
||||||
(or " " "!" (and (ignore "\\") "\"")
|
(or " " "!" "\n" (and (ignore "\\") "\"")
|
||||||
(and (ignore "\\") "\\") (range #\# #\頋)))
|
(and (ignore "\\") "\\") (range #\# #\頋)))
|
||||||
(define-peg-pattern operator all (or "=" "!" "<" ">"))
|
(define-peg-pattern operator all (or "=" "!" "<" ">"))
|
||||||
|
|
||||||
|
|
Reference in a new issue