Date: Mon, 26 Apr 1999 16:28:42 +0800 From: Peter Wemm <peter@netplex.com.au> To: chris@calldei.com Cc: A.Leidinger@Wurzelausix.CS.Uni-SB.de, current@FreeBSD.ORG Subject: Re: config & NO_F00F_HACK Message-ID: <19990426082847.40A571F5C@spinner.netplex.com.au> In-Reply-To: Your message of "Sun, 25 Apr 1999 17:26:59 EST." <19990425172657.A422@holly.dyndns.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Chris Costello wrote: > On Sun, Apr 25, 1999, A.Leidinger@Wurzelausix.CS.Uni-SB.de wrote: > > Hi, > >=20 > > # ident LINT > > LINT: > > $Id: LINT,v 1.589 1999/04/24 21:45:44 peter Exp $ > >=20 > > with: > > option NO_F00F_HACK > >=20 > > # config WORK > > WORK:15: unknown option "NO_F0F_HACK" > ^^^^^^^^^^^^^ > > You made a typo. No, it is a parsing/stringification botch. It's parsed like this: ID: NO_F NUMBER: 00 (octal 0) ID: F_HACK Of course, an atoi of "00" and then a sprintf("%d") results in a single "0". I've fixed this here and will commit it shortly, but I'm a bit nervous about the scope of the change required to prevent this information loss. :-/ I don't know enough lex/yacc to do context-sensitive tokenization. Cheers, -Peter To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990426082847.40A571F5C>