From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 17032 invoked from network); 28 Nov 2023 00:01:49 -0000 Received: from 9front.inri.net (168.235.81.73) by inbox.vuxu.org with ESMTPUTF8; 28 Nov 2023 00:01:49 -0000 Received: from mimir.eigenstate.org ([206.124.132.107]) by 9front; Mon Nov 27 18:59:15 -0500 2023 Received: from abbatoir (pool-108-6-24-2.nycmny.fios.verizon.net [108.6.24.2]) by mimir.eigenstate.org (OpenSMTPD) with ESMTPSA id ee547a8b (TLSv1.2:ECDHE-RSA-AES256-SHA:256:NO) for <9front@9front.org>; Mon, 27 Nov 2023 15:59:12 -0800 (PST) Message-ID: <399ABDDF79475C07943E6DFB6973847E@eigenstate.org> To: 9front@9front.org Date: Mon, 27 Nov 2023 18:59:10 -0500 From: ori@eigenstate.org In-Reply-To: <2bb2059a-2376-4d3a-8a30-9628603d3fde@invalid.invalid> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: self-healing package-oriented engine information descriptor out-scaling template Subject: Re: [9front] [PATCH] Fix assert macro to not break on commas Reply-To: 9front@9front.org Precedence: bulk Quoth Blue-Maned_Hawk : > > Well, the first problem there is that you don't have a message in that > invocation, so it's going to break anyway. However, if you were to > invoke it as e.g. > > assert_msg("Magic octopus", (Thing){0, "foo"}.a, (Thing){1, "bar"}.b); > > it would not break. Sure I do: assert_msg((Thing){0, "foo"}.a, ==the message==> (Thing){1, "bar"}.b <===); Or if you prefer: assert_msg((MsgWrapper){0, "bar"}.b, (CondWrapper){0, "meh"}.a);