Newsgroups: comp.std.c Path: utzoo!henry From: henry@utzoo.uucp (Henry Spencer) Subject: Re: Scope of switch statements Message-ID: <1989Nov9.200639.8868@utzoo.uucp> Organization: U of Toronto Zoology References: <15743@bloom-beacon.MIT.EDU> Date: Thu, 9 Nov 89 20:06:39 GMT In article <15743@bloom-beacon.MIT.EDU> tada@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@zoo.toronto.edu