Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uflorida!haven!adm!smoke!gwyn From: gwyn@smoke.BRL.MIL (Doug Gwyn) Newsgroups: comp.std.c Subject: Re: Declarations in switches, errors Message-ID: <11281@smoke.BRL.MIL> Date: 14 Oct 89 04:10:45 GMT References: <561@crdos1.crd.ge.COM> <10041@xanth.cs.odu.edu> <10888@riks.csl.sony.co.jp> Reply-To: gwyn@brl.arpa (Doug Gwyn) Organization: Ballistic Research Lab (BRL), APG, MD. Lines: 10 In article <10888@riks.csl.sony.co.jp> diamond@riks. (Norman Diamond) writes: >Mr. Kremer, you start your reply with "No." So you think that correct >execution of a switch statement constitutes abnormal entry to the block. >I conjecture that very few will agree with you. You lose, then. The only use of the term "normal entry into a block" I could find in the Standard is in 3.1.2.4, where it is contrasted to a "jump from outside the block to a labeled statement in the block or in an enclosed block". The description of "switch" in 3.6.4.2 is quite explicit that a jump occurs, and that "case" and "default" are labels.