Re: style(9) question

From: Bakul Shah <bakul_at_BitBlocks.com>
Date: Thu, 02 Mar 2006 09:43:48 -0800
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.
Received on Thu Mar 02 2006 - 16:44:07 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:53 UTC