Deutsch English Français Italiano |
<vclv2b$1hf82$1@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!news.mixmin.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Lawrence D'Oliveiro <ldo@nz.invalid> Newsgroups: comp.lang.c Subject: Re: how to make a macro work as a single line if stmt without braces Date: Sat, 21 Sep 2024 08:10:51 -0000 (UTC) Organization: A noiseless patient Spider Lines: 11 Message-ID: <vclv2b$1hf82$1@dont-email.me> References: <PaWdnZ3R-9zI6nP7nZ2dnZfqn_GdnZ2d@brightview.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Sat, 21 Sep 2024 10:10:52 +0200 (CEST) Injection-Info: dont-email.me; posting-host="8e8b76bdc5cf8d92766b4d2e7aeab907"; logging-data="1621250"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18plAbhyVmNL93P2rKcpUen" User-Agent: Pan/0.160 (Toresk; ) Cancel-Lock: sha1:zbDeZN0emM8A6GID4mRQ+GkCgo4= Bytes: 1199 On Sat, 21 Sep 2024 07:35:49 +0000, Mark Summerfield wrote: > I would prefer to be able to write this instead: > > total++; > if (failed) > WARN("failed because..."); > else > ok++; I wouldn’t, if I were you.