guix: opam: Allow for whitespace at the start of an opam file.
* guix/import/opam.scm (records): Accept whitespace at the beginning.
This commit is contained in:
parent
685cfdec94
commit
45940f59aa
@ -66,7 +66,7 @@
|
|||||||
(range #\# #\頋)))
|
(range #\# #\頋)))
|
||||||
(define-peg-pattern operator all (or "=" "!" "<" ">"))
|
(define-peg-pattern operator all (or "=" "!" "<" ">"))
|
||||||
|
|
||||||
(define-peg-pattern records body (* (and (or record weird-record) (* SP))))
|
(define-peg-pattern records body (and (* SP) (* (and (or record weird-record) (* SP)))))
|
||||||
(define-peg-pattern record all (and key COLON (* SP) value))
|
(define-peg-pattern record all (and key COLON (* SP) value))
|
||||||
(define-peg-pattern weird-record all (and key (* SP) dict))
|
(define-peg-pattern weird-record all (and key (* SP) dict))
|
||||||
(define-peg-pattern key body (+ (or (range #\a #\z) "-")))
|
(define-peg-pattern key body (+ (or (range #\a #\z) "-")))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user