mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-16 03:45:24 -05:00
import: opam: Accept tabulations.
* guix/import/opam.scm (SP, SP2): Accept tabulation as whitespace. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
d79e10b7e0
commit
be7338d400
1 changed files with 2 additions and 2 deletions
|
@ -61,8 +61,8 @@ (define-module (guix import opam)
|
|||
|
||||
;; 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 ":")
|
||||
|
|
Loading…
Reference in a new issue