From owner-freebsd-current Mon Apr 26 2:38: 0 1999 Delivered-To: freebsd-current@freebsd.org Received: from spinner.netplex.com.au (spinner.netplex.com.au [202.12.86.3]) by hub.freebsd.org (Postfix) with ESMTP id 5BA3914BE2 for ; Mon, 26 Apr 1999 02:37:55 -0700 (PDT) (envelope-from peter@netplex.com.au) Received: from netplex.com.au (localhost [127.0.0.1]) by spinner.netplex.com.au (Postfix) with ESMTP id D52B31F5C; Mon, 26 Apr 1999 17:37:51 +0800 (WST) (envelope-from peter@netplex.com.au) X-Mailer: exmh version 2.0.2 2/24/98 To: Alexander Leidinger Cc: current@FreeBSD.ORG Subject: Re: config & NO_F00F_HACK In-reply-to: Your message of "Mon, 26 Apr 1999 10:45:56 +0200." <199904260845.KAA11929@wurzelausix.cs.uni-sb.de> Date: Mon, 26 Apr 1999 17:37:51 +0800 From: Peter Wemm Message-Id: <19990426093753.D52B31F5C@spinner.netplex.com.au> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Alexander Leidinger wrote: > On 26 Apr, Peter Wemm wrote: > > > I've fixed this here and will commit it shortly, but I'm a bit nervous abou t > > the scope of the change required to prevent this information loss. :-/ I > > don't know enough lex/yacc to do context-sensitive tokenization. > > What about > pseudo-device "i4bq921" > at the moment I have to quote. I don't think anything much can be done about that.. The tokenizer essentially ignores whitespace, so these are the same: pseudo-device snp 4 pseudo-device snp4 Without the quotes, your example above is parsed something like this: pseudo-device i 4 bq 921 Ie: a request for 4 units of the i device and 921 units of the bq device, which do not exist, or it will be a syntax error. Unfortunately, you can't use "options i4bq921" since there is: #if NI4BQ921 > 0 and... conf/files:i4b/layer2/i4b_l2fsm.c optional i4bq921 That 'N' prefix is for the unit count. Sigh... Cheers, -Peter To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message