[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#53882] [PATCH 01/24] import: opam: Accept tabulations.
From: |
Julien Lepiller |
Subject: |
[bug#53882] [PATCH 01/24] import: opam: Accept tabulations. |
Date: |
Tue, 8 Feb 2022 21:14:27 +0100 |
* guix/import/opam.scm (SP, SP2): Accept tabulation as whitespace.
---
guix/import/opam.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/guix/import/opam.scm b/guix/import/opam.scm
index f569c921b1..f51d17dea4 100644
--- a/guix/import/opam.scm
+++ b/guix/import/opam.scm
@@ -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 ":")
--
2.34.0
- [bug#53882] [PATCH] gnu: Add ocaml-core., Julien Lepiller, 2022/02/08
- [bug#53882] [PATCH 01/24] import: opam: Accept tabulations.,
Julien Lepiller <=
- [bug#53882] [PATCH 03/24] gnu: Add ocaml-spawn., Julien Lepiller, 2022/02/08
- [bug#53882] [PATCH 05/24] gnu: Add ocaml-ppx-typerep-conv., Julien Lepiller, 2022/02/08
- [bug#53882] [PATCH 06/24] gnu: Add ocaml-ppx-string., Julien Lepiller, 2022/02/08
- [bug#53882] [PATCH 09/24] gnu: Add ocaml-ppx-module-timer., Julien Lepiller, 2022/02/08
- [bug#53882] [PATCH 11/24] gnu: Add ocaml-bin-prot., Julien Lepiller, 2022/02/08
- [bug#53882] [PATCH 19/24] gnu: Add ocmal-ppx-jane., Julien Lepiller, 2022/02/08
- [bug#53882] [PATCH 22/24] gnu: Add ocaml-timezone., Julien Lepiller, 2022/02/08
- [bug#53882] [PATCH 24/24] gnu: Add ocaml-core., Julien Lepiller, 2022/02/08
- [bug#53882] [PATCH 23/24] gnu: ocaml-jane-street-headers: Add variant., Julien Lepiller, 2022/02/08