From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 2AItL4jcAmKG/AAAgWs5BA (envelope-from ) for ; Tue, 08 Feb 2022 22:11:36 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id cNHrJ4jcAmIQ6wAAG6o9tA (envelope-from ) for ; Tue, 08 Feb 2022 22:11:36 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 44C6139055 for ; Tue, 8 Feb 2022 22:11:36 +0100 (CET) Received: from localhost ([::1]:48390 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nHXlu-0000uY-SI for larch@yhetil.org; Tue, 08 Feb 2022 16:11:34 -0500 Received: from eggs.gnu.org ([209.51.188.92]:41042) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nHWuB-0000Zi-5t for guix-patches@gnu.org; Tue, 08 Feb 2022 15:16:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:54939) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nHWuA-0007Vx-Ha for guix-patches@gnu.org; Tue, 08 Feb 2022 15:16:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nHWuA-0002Zm-CA for guix-patches@gnu.org; Tue, 08 Feb 2022 15:16:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#53882] [PATCH 01/24] import: opam: Accept tabulations. References: <20220208210815.7ae6484d@tachikoma.lepiller.eu> In-Reply-To: <20220208210815.7ae6484d@tachikoma.lepiller.eu> Resent-From: Julien Lepiller Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 08 Feb 2022 20:16:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53882 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 53882@debbugs.gnu.org Received: via spool by 53882-submit@debbugs.gnu.org id=B53882.16443513049546 (code B ref 53882); Tue, 08 Feb 2022 20:16:02 +0000 Received: (at 53882) by debbugs.gnu.org; 8 Feb 2022 20:15:04 +0000 Received: from localhost ([127.0.0.1]:48768 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nHWtB-0002TF-Hw for submit@debbugs.gnu.org; Tue, 08 Feb 2022 15:15:04 -0500 Received: from lepiller.eu ([89.234.186.109]:47110) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nHWt8-0002Sz-V1 for 53882@debbugs.gnu.org; Tue, 08 Feb 2022 15:15:00 -0500 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id e4819911 for <53882@debbugs.gnu.org>; Tue, 8 Feb 2022 20:14:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=from:to :subject:date:message-id:mime-version:content-transfer-encoding; s=dkim; bh=xHQWhwH/XjDtMuuy04bcGXc+oVCE6+O7FS7Bc/kBOII=; b=Jwjq GxE6sn+bSgQ/7wMaByiz/A32OxbSc/H680tbOjEPAUD7phw9RYVuMMiaQ9W02QQU YrSGyMGR7PRxQSfu3VmJ+hep2v3kddSuqWw0UrQD99Zl6CvW811RV1fvNkIMCy+4 GAgoKiPCgHG+11Vsj15sLkcn6mphLz1yAOXPWLkTbM9UgUyHyRLFSaljs0bjf9zK wasDT7H1gCMHzRgLhibLQ6aY9lkP4TTqEZ99bDoWNN1Y9xP89MOgWYmoBZ0Lw4cJ d8cPmY5/rv7TMGnBjk7DvjTC4Z2W8CrQH4iltby3nCaQcb1s1jR8n/93ojTDKEkG qZG8zKO0mHmkOHEolQ== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id e6c8db04 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO) for <53882@debbugs.gnu.org>; Tue, 8 Feb 2022 20:14:56 +0000 (UTC) From: Julien Lepiller Date: Tue, 8 Feb 2022 21:14:27 +0100 Message-Id: <1dcef02fe1f5f25657c6427d09c43bfc41091050.1644350657.git.julien@lepiller.eu> X-Mailer: git-send-email 2.34.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1644354696; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=YUsBNaiuV0tdZxyunCOG1OBQFJCfugJCyXmq/0SZokQ=; b=gNoWoACT9RNJIMK5cA+ozzwGjz5HC53x7cIKPCNX2qFxRhdu3fFjF5k4kzxFAEKtqCin8k yfAnooXDlnqp0/Ein9ywUS9Sh4HdG0pZsXR8ECu/W9mnhmo6bhCmKOvYCG4eSLYKSjYNzK Org9+7EcNM9nRAK+GwoTupePtyizZ6VrzvolK8WHoNG9QvdXhxNVTJ4G7mFVKQzoButI97 IOW8+VsUQkSEBh74Ze5CQ5kNVc/cqcH+Tv4H9jCJ2fb51f0uI0qWlTg4QLi/Yhyv81X/zn RnO+6uOXoF4iJLiBzkCSqa1VHQQgTGOMOm8sReiL2YeAsQpJiJPFFzhDztiKaQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1644354696; a=rsa-sha256; cv=none; b=u/QJlr6hXZWPUOG4NJJMnBiHjN6jpRZtSf0Zw98Nywa742/Ot6tjD55Th9dcZzqUzwIHL4 cnXTKsPQrvsLZVnx05KguORgcWXw+P9UFINARTSC5iMN7iFeG5AKRVxm0gOOmB/JRaB+Z6 cOyFBvmwwdIPt5mKaDy5Zuq+u3P3Usw14/CLOHvWF5vms0P/CUbZdvFVkejkmah9zefB8K FnyHSAdj0A25ksrYtask7iidtr6yup8LYf8YZwnPQbvViWejHuAUnDxT2lmEKhIiJsBCrt TVuz+UWy2rwtRqCj83309okqf6pMAihpPhRkSNY2T3VU/hlbQxzjk1kCNv7NHw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lepiller.eu header.s=dkim header.b="Jwjq GxE"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=lepiller.eu (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -0.53 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lepiller.eu header.s=dkim header.b="Jwjq GxE"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=lepiller.eu (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 44C6139055 X-Spam-Score: -0.53 X-Migadu-Scanner: scn0.migadu.com X-TUID: TjxUXDXtuHF4 * 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