Path: utzoo!mnetor!uunet!lll-winken!lll-lcc!ames!ll-xn!mit-eddie!bbn!rochester!PT.CS.CMU.EDU!B.GP.CS.CMU.EDU!Ralf.Brown@B.GP.CS.CMU.EDU From: Ralf.Brown@B.GP.CS.CMU.EDU Newsgroups: comp.lang.c Subject: Re: The D Programming Language, labelled blocks Message-ID: <222965b9@ralf.home> Date: 29 Feb 88 13:06:01 GMT Sender: netnews@PT.CS.CMU.EDU Lines: 21 In-Reply-To: <24996@cca.CCA.COM> In article <24996@cca.CCA.COM>, g-rh@cca.CCA.COM (Richard Harter) writes: }As a side point, I like the suggestion that someone made that there be }a fallthrough statement rather than automatic fallthrough. So, you would like to have to write switch(var) { case foo: fallthrough; case bar: fallthrough; case baz: fallthrough; case mung: /* code to do something for all four cases */ } ? Or add yet another special case (automatic fallthrough if and only if there is no code between the two labels)? -- {harvard,uunet,ucbvax}!b.gp.cs.cmu.edu!ralf -=-=- AT&T: (412)268-3053 (school) ARPA: RALF@B.GP.CS.CMU.EDU |"Tolerance means excusing the mistakes others make. FIDO: Ralf Brown at 129/31 | Tact means not noticing them." --Arthur Schnitzler BITnet: RALF%B.GP.CS.CMU.EDU@CMUCCVMA -=-=- DISCLAIMER? I claimed something?