Date: Mon, 26 Apr 1999 20:14:27 +0800 From: Peter Wemm <peter@netplex.com.au> To: Luoqi Chen <luoqi@watermarkgroup.com> Cc: chris@calldei.com, A.Leidinger@Wurzelausix.CS.Uni-SB.de, current@FreeBSD.ORG Subject: Re: config & NO_F00F_HACK Message-ID: <19990426121429.AC3F61F58@spinner.netplex.com.au> In-Reply-To: Your message of "Mon, 26 Apr 1999 07:49:46 -0400." <199904261149.HAA12979@lor.watermarkgroup.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Luoqi Chen 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 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. > > > This should be fairly simple, please try this, It works here fine, but I can't pretend that I understand it. :-) Will you commit it? 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?19990426121429.AC3F61F58>