import: opam: Accept tabulations.
* guix/import/opam.scm (SP, SP2): Accept tabulation as whitespace. Signed-off-by: Ludovic Courtès <ludo@gnu.org>master
parent
d79e10b7e0
commit
be7338d400
|
@ -61,8 +61,8 @@
|
|||
|
||||
;; Define a PEG parser for the opam format
|
||||
(define-peg-pattern comment none (and "#" (* COMMCHR) "\n"))
|
||||
(define-peg-pattern SP none (or " " "\n" comment))
|
||||
(define-peg-pattern SP2 body (or " " "\n"))
|
||||
(define-peg-pattern SP none (or " " "\n" "\t" comment))
|
||||
(define-peg-pattern SP2 body (or " " "\n" "\t"))
|
||||
(define-peg-pattern QUOTE none "\"")
|
||||
(define-peg-pattern QUOTE2 body "\"")
|
||||
(define-peg-pattern COLON none ":")
|
||||
|
|
Reference in New Issue