Scope of switch statements

Henry Spencer henry at utzoo.uucp
Fri Nov 10 07:06:39 AEST 1989


In article <15743 at bloom-beacon.MIT.EDU> tada at athena.mit.edu (Michael J Zehr) writes:
>is this obfuscated code not ANSI or is the compiler broken?  

It is legal, although ugly, ANSI C.  Also legal (but ugly) traditional C.
Dennis Ritchie himself has officially blessed this disgusting construct,
and indeed it has one or two legitimate uses.
-- 
A bit of tolerance is worth a  |     Henry Spencer at U of Toronto Zoology
megabyte of flaming.           | uunet!attcan!utzoo!henry henry at zoo.toronto.edu



More information about the Comp.std.c mailing list