From owner-freebsd-questions@FreeBSD.ORG Sun Dec 26 16:14:42 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D5FA91065693 for ; Sun, 26 Dec 2010 16:14:42 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [115.70.110.159]) by mx1.freebsd.org (Postfix) with ESMTP id 5A65A8FC14 for ; Sun, 26 Dec 2010 16:14:41 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id oBQGEWPb090602; Mon, 27 Dec 2010 03:14:33 +1100 (EST) (envelope-from smithi@nimnet.asn.au) Date: Mon, 27 Dec 2010 03:14:32 +1100 (EST) From: Ian Smith To: Bruce Cran In-Reply-To: <20101226151233.00001f7e@unknown> Message-ID: <20101227022144.O30408@sola.nimnet.asn.au> References: <20101226120033.CC15F1065773@hub.freebsd.org> <20101226235319.Y30408@sola.nimnet.asn.au> <20101226133539.000003c5@unknown> <20101227013810.T30408@sola.nimnet.asn.au> <20101226151233.00001f7e@unknown> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: Rob , freebsd-questions@freebsd.org Subject: Re: kernel config file according to config(5): inconsistent ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Dec 2010 16:14:42 -0000 On Sun, 26 Dec 2010, Bruce Cran wrote: > On Mon, 27 Dec 2010 01:50:45 +1100 (EST) > Ian Smith wrote: > > > Probably should be easy, but from trying to parse that and lang.l I > > get the vague impression (at best) that Rob's original should have > > worked? > > > > Too much partying probably .. care to enlighten us? > > The NOOPTION token doesn't accept an Opt_list, just a Save_Id - it's > just OPTIONS and MAKEOPTIONS that can have a list. Ah, indeed. So the config(5) nooption[s] entry is plain wrong, or at least 'ahead of the code' :) and whitespace is ignored anyway. Interesting parser; thanks for the introductory crash course! cheers, Ian