X-Mozilla-Status: 0001
X-Mozilla-Status2: 00000000
Delivered-To: barryleiba.mailing.lists@gmail.com
Received: by 10.59.3.41 with SMTP id bt9csp184946ved;
        Thu, 3 Jan 2013 09:12:59 -0800 (PST)
X-Received: by 10.66.87.67 with SMTP id v3mr12195214paz.63.1357233178715;
        Thu, 03 Jan 2013 09:12:58 -0800 (PST)
Return-Path: <abnf-discuss-bounces@ietf.org>
Received: from mail.ietf.org (mail.ietf.org. [2001:1890:126c::1:1e])
        by mx.google.com with ESMTP id sn9si48036814pbc.69.2013.01.03.09.12.57;
        Thu, 03 Jan 2013 09:12:58 -0800 (PST)
Received-SPF: pass (google.com: domain of abnf-discuss-bounces@ietf.org designates 2001:1890:126c::1:1e as permitted sender) client-ip=2001:1890:126c::1:1e;
Authentication-Results: mx.google.com; spf=pass (google.com: domain of abnf-discuss-bounces@ietf.org designates 2001:1890:126c::1:1e as permitted sender) smtp.mail=abnf-discuss-bounces@ietf.org; dkim=pass (test mode) header.i=@ietf.org
Received: from ietfa.amsl.com (localhost [127.0.0.1])
	by ietfa.amsl.com (Postfix) with ESMTP id 5D07D21F8BCE;
	Thu,  3 Jan 2013 09:12:57 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ietf.org; s=ietf1;
	t=1357233177; bh=9LynSYisgSuHEopZa7lnd+5ooSD57HDiIBAPnMbRJ7o=;
	h=From:To:Date:Message-ID:References:In-Reply-To:MIME-Version:Cc:
	 Subject:List-Id:List-Unsubscribe:List-Archive:List-Post:List-Help:
	 List-Subscribe:Content-Type:Content-Transfer-Encoding:Sender;
	b=VAKly3GPVDyBhQVT4Dkou7v9Kxw/IWAK18xto6VIA4KSoaMPcNKqjugmzO9hTLF5f
	 NmL7f6EcW1F9F8K2nWcdEs8ijOYpoZEfw/Xku8R2nOzhVy2S2m/2+pTAqlvgWX6Aj/
	 1NCoBK1uEPOHQ8kO781hT9ZrftBpb8B2p4siNvvM=
X-Original-To: abnf-discuss@ietfa.amsl.com
Delivered-To: abnf-discuss@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by ietfa.amsl.com (Postfix) with ESMTP id 275A121F8BBB
	for <abnf-discuss@ietfa.amsl.com>; Thu,  3 Jan 2013 09:12:56 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0
X-Spam-Level: 
X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]
Received: from mail.ietf.org ([64.170.98.30])
	by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id LxoA6EqA-8km for <abnf-discuss@ietfa.amsl.com>;
	Thu,  3 Jan 2013 09:12:55 -0800 (PST)
Received: from mout.gmx.net (mout.gmx.net [212.227.17.21])
	by ietfa.amsl.com (Postfix) with ESMTP id EA28921F8BB9
	for <abnf-discuss@ietf.org>; Thu,  3 Jan 2013 09:12:54 -0800 (PST)
Received: from mailout-de.gmx.net ([10.1.76.33]) by mrigmx.server.lan
	(mrigmx001) with ESMTP (Nemesis) id 0MQsuO-1TS5RD3GHe-00UHJs for
	<abnf-discuss@ietf.org>; Thu, 03 Jan 2013 18:12:53 +0100
Received: (qmail invoked by alias); 03 Jan 2013 17:12:53 -0000
Received: from p57A1E927.dip.t-dialin.net (EHLO netb.Speedport_W_700V)
	[87.161.233.39]
	by mail.gmx.net (mp033) with SMTP; 03 Jan 2013 18:12:53 +0100
X-Authenticated: #723575
X-Provags-ID: V01U2FsdGVkX1/SEdJluI7S5RQL1A+Bi5KCR+cwP50QMX9Ou/UIqk
	wS4aPfKVcFBUnR
From: Bjoern Hoehrmann <derhoermi@gmx.net>
To: Paul Kyzivat <pkyzivat@alum.mit.edu>
Date: Thu, 03 Jan 2013 18:12:53 +0100
Message-ID: <3pebe8d2tigatcb851jgrd57gcnd4ghjqu@hive.bjoern.hoehrmann.de>
References: <50E4A900.1070408@alum.mit.edu>
	<alpine.LSU.2.00.1301030943590.15409@hermes-1.csi.cam.ac.uk>
	<50E5B175.1030308@gmail.com> <50E5B9DB.4030500@alum.mit.edu>
In-Reply-To: <50E5B9DB.4030500@alum.mit.edu>
X-Mailer: Forte Agent 3.3/32.846
MIME-Version: 1.0
X-Y-GMX-Trusted: 0
Cc: abnf-discuss@ietf.org
Subject: Re: [abnf-discuss] How to indent ABNF figures in draft?
X-BeenThere: abnf-discuss@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: "General discussion about tools,
	activities and capabilities involving the ABNF meta-language"
	<abnf-discuss.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/abnf-discuss>,
	<mailto:abnf-discuss-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/abnf-discuss>
List-Post: <mailto:abnf-discuss@ietf.org>
List-Help: <mailto:abnf-discuss-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/abnf-discuss>,
	<mailto:abnf-discuss-request@ietf.org?subject=subscribe>
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Sender: abnf-discuss-bounces@ietf.org
Errors-To: abnf-discuss-bounces@ietf.org

* Paul Kyzivat wrote:
>And even if that text is considered normative, it isn't entirely clear =

>what is and isn't valid. I *think* it says that the beginning of all =

>rules must be indented the same amount, and continuation lines must be =

>indented more. So that the file could be preprocessed by finding the =

>first non-whitespace line, removing leading whitespace from that line, =

>and then removing identical leading whitespace from all subsequent =

>lines. Then process the result according to the ABNF for ABNF.

That's what I did with http://search.cpan.org/~bjoern/Parse-ABNF-0.05/
where the documentation notes:

  The ABNF specification disallows white space preceding the left hand
  side, and so does this module. Remove it prior to passing the grammar
  e.g. using

    $grammar =3D~ s/^\s+(?=3D[\w-]+\s*=3D)//mg;

  This module does not do that for you in order to preserve line and
  column numbers. Patches adapting the grammar to allow leading white
  space welcome.
-- =

Bj=F6rn H=F6hrmann =B7 mailto:bjoern@hoehrmann.de =B7 http://bjoern.hoehrma=
nn.de
Am Badedeich 7 =B7 Telefon: +49(0)160/4415681 =B7 http://www.bjoernsworld.de
25899 Dageb=FCll =B7 PGP Pub. KeyID: 0xA4357E78 =B7 http://www.websitedev.d=
e/ =

_______________________________________________
abnf-discuss mailing list
abnf-discuss@ietf.org
https://www.ietf.org/mailman/listinfo/abnf-discuss

