🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.c
Article #459

Re: Taming The Switch-Statement

#459
From: Keith Thompson
Date: Fri, 16 Oct 2026 22:03
12 lines
2152 bytes
Lawrence D’Oliveiro <ldo@nz.invalid> writes:
[...]
> Unless you use a GCC extension like “defer”, I suppose.

There is a proposal to add "defer" (or rather "_Defer") to C,
though it doesn't appear in the latest C2y draft.

https://www.open-std.org/jtc1/sc22/wg14/www/docs/n3928.pdf

-- 
Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com
void Void(void) { Void(); } /* The recursive call of the void */
Technical Details
Message-ID: <11au6v8$3mdne$2@kst.eternal-september.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!kst.eternal-september.org!.POSTED!not-for-mail
References: <119qf6l$2rmg3$1@dont-email.me> <20261010230355.00005189@yahoo.com> <864iesjx6e.fsf@linuxsc.com> <11afvqt$2kloc$1@dont-email.me> <11ag37o$2ln0a$1@dont-email.me> <11agbsh$2pbk7$1@dont-email.me> <11aggaq$2qqh9$1@dont-email.me> <11agils$2s3tg$1@dont-email.me> <11agv1t$30q22$2@kst.eternal-september.org> <20261012220256.00003d07@yahoo.com> <11ajb95$3t8jj$1@dont-email.me> <20261012223144.00000f95@yahoo.com> <11akm9q$29tpl$1@paganini.bofh.team> <11am99u$ul56$2@dont-email.me> <11atfif$38b7p$1@paganini.bofh.team> <11au5ob$3m5co$2@dont-email.me>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!kst.eternal-september.org!.POSTED!not-for-mail
From: Keith Thompson <Keith.S.Thompson+u@gmail.com>
Newsgroups: comp.lang.c
Subject: Re: Taming The Switch-Statement
Date: Fri, 16 Oct 2026 15:03:19 -0700
Organization: None to speak of
Lines: 12
Message-ID: <11au6v8$3mdne$2@kst.eternal-september.org>
References: <119qf6l$2rmg3$1@dont-email.me>
	<20261010230355.00005189@yahoo.com> <864iesjx6e.fsf@linuxsc.com>
	<11afvqt$2kloc$1@dont-email.me> <11ag37o$2ln0a$1@dont-email.me>
	<11agbsh$2pbk7$1@dont-email.me> <11aggaq$2qqh9$1@dont-email.me>
	<11agils$2s3tg$1@dont-email.me>
	<11agv1t$30q22$2@kst.eternal-september.org>
	<20261012220256.00003d07@yahoo.com> <11ajb95$3t8jj$1@dont-email.me>
	<20261012223144.00000f95@yahoo.com>
	<11akm9q$29tpl$1@paganini.bofh.team> <11am99u$ul56$2@dont-email.me>
	<11atfif$38b7p$1@paganini.bofh.team> <11au5ob$3m5co$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 16 Oct 2026 22:03:20 +0000 (UTC)
Injection-Info: kst.eternal-september.org;
	logging-data="3880686"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX197FvG08rRWaH16n/TXY0o+"; posting-host="cf7ed1e612447f7784dc01a34361c57c"
User-Agent: Gnus/5.13 (Gnus v5.13)
Cancel-Lock: sha1:T4EAjc15mBagumzlfnnIwbtklGQ= sha256:2OQ/A9jIcEym0NG5L3fGmZqH8Dy4WDdu3zDKSN8NY3Y=
	sha1:wV8wmYeXaZM7yrcJQ0AEtyc8dIs= sha256:2lLjZXOLhibOqD+IfnEzuhu0GvOr65GfsM7czmHrVjE=