[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/25: import: opam: Accept tabulations.
From: |
guix-commits |
Subject: |
02/25: import: opam: Accept tabulations. |
Date: |
Mon, 11 Apr 2022 06:18:50 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit be7338d4000dece2a4a4c19b414c71b7206799eb
Author: Julien Lepiller <julien@lepiller.eu>
AuthorDate: Fri Apr 8 15:22:42 2022 +0200
import: opam: Accept tabulations.
* guix/import/opam.scm (SP, SP2): Accept tabulation as whitespace.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
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 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 ":")
- branch master updated (7da907f90e -> 24851bf6f9), guix-commits, 2022/04/11
- 04/25: gnu: Add ocaml-spawn., guix-commits, 2022/04/11
- 05/25: gnu: Add ocaml-typerep., guix-commits, 2022/04/11
- 06/25: gnu: Add ocaml-ppx-typerep-conv., guix-commits, 2022/04/11
- 07/25: gnu: Add ocaml-ppx-string., guix-commits, 2022/04/11
- 09/25: gnu: Add ocaml-ppx-pipebang., guix-commits, 2022/04/11
- 10/25: gnu: Add ocaml-ppx-module-timer., guix-commits, 2022/04/11
- 01/25: gnu: ocaml-odoc: Update to 2.2.0-alpha., guix-commits, 2022/04/11
- 03/25: import: opam: Factor out source import., guix-commits, 2022/04/11
- 02/25: import: opam: Accept tabulations.,
guix-commits <=
- 17/25: gnu: Add ocaml-splittable-random., guix-commits, 2022/04/11
- 18/25: gnu: Add ocaml-base-quickcheck., guix-commits, 2022/04/11
- 11/25: gnu: Add ocaml-ppx-fixed-literal., guix-commits, 2022/04/11
- 12/25: gnu: Add ocaml-bin-prot., guix-commits, 2022/04/11
- 16/25: gnu: Add ocaml-ppx-sexp-message., guix-commits, 2022/04/11
- 19/25: gnu: Add ocaml-ppx-fail., guix-commits, 2022/04/11
- 21/25: gnu: Add ocaml-base-bigstring., guix-commits, 2022/04/11
- 08/25: gnu: Add ocaml-ppx-stable., guix-commits, 2022/04/11
- 20/25: gnu: Add ocaml-ppx-jane., guix-commits, 2022/04/11
- 24/25: gnu: ocaml-jane-street-headers: Add variant., guix-commits, 2022/04/11