me
/
guix
Archived
1
0
Fork 0

guix: import: Fix opam importer.

* guix/import/opam.scm: Allow line breaks in strings.
master
Julien Lepiller 2019-11-27 23:32:54 +01:00
parent 166001fdb9
commit c60d98d42d
No known key found for this signature in database
GPG Key ID: 43111F4520086A0C
1 changed files with 1 additions and 1 deletions

View File

@ -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 "=" "!" "<" ">"))