mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-19 05:57:04 +01:00
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
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ (define-peg-pattern STRCHR body
|
|||
(range #\# #\頋)))
|
||||
(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 weird-record all (and key (* SP) dict))
|
||||
(define-peg-pattern key body (+ (or (range #\a #\z) "-")))
|
||||
|
|
Loading…
Reference in a new issue