Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 02 Mar 2006 09:43:48 -0800
From:      Bakul Shah <bakul@BitBlocks.com>
To:        "M. Warner Losh" <imp@bsdimp.com>
Cc:        dmitry@atlantis.dp.ua, freebsd-current@freebsd.org
Subject:   Re: style(9) question 
Message-ID:  <200603021743.k22HhmWV057573@gate.bitblocks.com>
In-Reply-To: Your message of "Thu, 02 Mar 2006 10:06:08 MST." <20060302.100608.80501136.imp@bsdimp.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
Warner Losh writes:
> Heck, we'd be better off contemplating the lint in our belly buttons.

As you wish!

$ lint belly button
lint: unknown file type: belly

lint: unknown file type: button

lint: cannot find llib-lc.ln
Lint pass2:
usage: lint2 -hpstxuHF -Clib -l lib ... src1 ...

> Why do it in the first place?  It makes it look consisntant with if
> (foo) or while (foo).  return foo; looks inconsistant: keyword (expr);

$ cat>x.c<<EOF
f()
{
	goto (foo);
	foo: return 1;
}
EOF
$ cc -c x.c
x.c: In function `f':
x.c:3: error: syntax error before '(' token

We now return (you) to the usual programme after this silliness.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200603021743.k22HhmWV057573>