From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id YHJTNFhV8WaYdwEAqHPOHw:P1 (envelope-from ) for ; Mon, 23 Sep 2024 13:47:37 +0200 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id YHJTNFhV8WaYdwEAqHPOHw (envelope-from ) for ; Mon, 23 Sep 2024 13:47:36 +0200 X-Envelope-To: patches@johnnyrichard.com Authentication-Results: aspmx1.migadu.com; none Received: from mail-a.sr.ht (mail-a.sr.ht [46.23.81.152]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id C974F102EC for ; Mon, 23 Sep 2024 13:47:36 +0200 (CEST) DKIM-Signature: a=rsa-sha256; bh=zf4GBdJ1DlZXKKvsPc2mfrxqJU+LIOLx+g2tcSG4qvY=; c=simple/simple; d=lists.sr.ht; h=Cc:Subject:From:To:References:In-Reply-To:Date:List-Unsubscribe:List-Subscribe:List-Archive:List-Post:List-ID; q=dns/txt; s=20240113; t=1727092056; v=1; b=oMqf/7A7M41OkVagFmjHc4yR4Vczzun3t7Ph9sZu4PyxMS5P5qIX26VMBa0P4zWWdQOO7mxn YXjiRAxm+cF2Tcr/oeYGjL48t+c2D2+vl9vf+vVnh+zN4d8aJZqOUbJJlOylte8/MFRP4X1OcLA +tntgaKKnZLXu1G2/DETje9Y1KkQ0nGwt5U3Z7B/scmekl9+5L9Mpcp0tCjh18O4OrEl7+VmloF odVlGtgNxYn489B9/msZlO8/tB0wNfP+6N/wrULTm0NObE4NNRlD63RZ/70R0sTSxNFfG2Ama3U M0u38BLuRdUpeJbYkJJmir2/QN8PD5mBnsY4YblLRTeLA== Received: from lists.sr.ht (unknown [46.23.81.154]) by mail-a.sr.ht (Postfix) with ESMTPSA id 8AD2B201D5 for ; Mon, 23 Sep 2024 11:47:36 +0000 (UTC) Received: from seashell.cherry.relay.mailchannels.net (seashell.cherry.relay.mailchannels.net [23.83.223.162]) by mail-a.sr.ht (Postfix) with ESMTPS id 2736E20189 for <~johnnyrichard/olang-devel@lists.sr.ht>; Mon, 23 Sep 2024 11:47:34 +0000 (UTC) X-Sender-Id: hostingeremail|x-authuser|carlos@maniero.me Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 62EB68A466 for <~johnnyrichard/olang-devel@lists.sr.ht>; Mon, 23 Sep 2024 11:47:33 +0000 (UTC) Received: from nl-srv-smtpout1.hostinger.io (unknown [127.0.0.6]) (Authenticated sender: hostingeremail) by relay.mailchannels.net (Postfix) with ESMTPA id 85A628A871 for <~johnnyrichard/olang-devel@lists.sr.ht>; Mon, 23 Sep 2024 11:47:31 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1727092051; a=rsa-sha256; cv=none; b=HbBLv9oaJVxmJjsAk7NL0SpnzG6nm06nKJsgPMlnxAJRsp2k2bVAkaNSmLmn+aY2uImb+t 1lIEQ5YZfQSOXl+/r7lA6d0QTGj55pYO87q7tSdaAywkpR7tG0RJXzHOJq4h/clYuSndOI p2Gm/K/IOGg4iklpInyp40gFJ6dstIGKL0z9kwkTA7wu3DHx20hX9LHVvdbOTlAQvfj5Dz N753K23G2rPQ1CGPAFI/NE+/wAngonIIxn4KF76y/lHVBTssdAaFIL8w8YPBnnKOrae4Lc ldWZFRbzrx3YuhzwbX0BdH3xzDjZNHOjX5Q/wB2WmENYThDlvlWST3k56KMOqw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1727092051; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=zf4GBdJ1DlZXKKvsPc2mfrxqJU+LIOLx+g2tcSG4qvY=; b=ZIQoFtWcyhmStncK5vfvV9zSHnqPjKYJZUpRhaTMDnmWjAuDz6ejtGon2YDtN7RgMG4PcH bSVAUwRov//HMv62jOGERl6rBBE9SlZUZqTk/90oE8u5h3HAUiZdgbw86Q3B4oqLYgvHi1 BsmDJavgnvLFkQbj+UBtdkeJH+/EmKh/FmSLvGRtl8NsPJC7KPw1sqH1Mudv1cIfUvFSW7 LJ6UlxAOikdpw6sbvkfP4ABaOlMVn3JLXRyjN6p7TuQaMyu8xPjQiaSgWSjUkYkkKuG9QA LbVW9WtHQSWRY5DQNg4rzdHGsa9rySGZM7OJ2/m+nltqCQ9ewriRiQykRJDxxQ== ARC-Authentication-Results: i=1; rspamd-b5ccff48b-bxpcg; auth=pass smtp.auth=hostingeremail smtp.mailfrom=carlos@maniero.me X-Sender-Id: hostingeremail|x-authuser|carlos@maniero.me X-MC-Relay: Neutral X-MailChannels-SenderId: hostingeremail|x-authuser|carlos@maniero.me X-MailChannels-Auth-Id: hostingeremail X-Macabre-Squirrel: 42098e9c6f9b3596_1727092052073_1363486116 X-MC-Loop-Signature: 1727092052073:64105207 X-MC-Ingress-Time: 1727092052073 Received: from nl-srv-smtpout1.hostinger.io (nl-srv-smtpout1.hostinger.io [145.14.150.87]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.105.152.59 (trex/7.0.2); Mon, 23 Sep 2024 11:47:32 +0000 Mime-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=maniero.me; s=hostingermail1; t=1727092049; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=zf4GBdJ1DlZXKKvsPc2mfrxqJU+LIOLx+g2tcSG4qvY=; b=FSM4qHpDQscW7W5DPrkxgfj1qXiwqbWC6xoz8OiFRLXXu7mG6PaC/GLVArWB9C32GmxQsV dv4B82TPqNuiGpeOj1w9/+zgYPoQobGaV+OM3BUufbP7hA7PwI1U2irq5y6Bbs6cjNbC0C kQFgk1wlTTvinbXYG3HY9znm0CrlDHJ+4EzZ5rZ5n4aJ3TyMoJcJK6eMYrja1pnY62q9ZG KTnHDPXYdy21cZjcAAh8DWKRw6CN1F9YRXYQnoOnq5vVJHbdYLz/K2iUmYn7jihOy6nQm0 m6ozK00K22V3X41lcgMRgG7aVegJ5laJ6x0KyinodpRtyzGvjDnHWLPBkNBDjQ== Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Message-Id: Cc: <~johnnyrichard/olang-devel@lists.sr.ht> Subject: Re: [PATCH olang v1 1/3] ast: return_stmt rename expr field and add it to the factory fn From: "Carlos Maniero" To: "Johnny Richard" X-Mailer: aerc 0.15.2-211-g37d5fc691aff References: <20240923101141.76783-1-carlos@maniero.me> <20240923101141.76783-2-carlos@maniero.me> In-Reply-To: Date: Mon, 23 Sep 2024 11:47:28 +0000 (UTC) X-CM-Envelope: MS4xfKy1xkGQIsAabRvQWb+Nph8XsLACrRPkqHxanQTz8j+dL1onQuI6VkHAlHWlLKl7y9luc82fESEQaE7X478PcTQMVUfPmVytygp+C+4uvhrcylsJr9tN BM7MNx7kZfbQyDAyOZG8C0Z71IHePFX/gk/90ruW/tTurjldf+SOSg2H/BeEvJyJ3k3iiRfRsF749yR3yg+yuGUuM7zKoYUnGFIUWtD8syG0jCZt4Gt92ybh bFAAXuilZVgnfP7Z1T+grQ== X-CM-Analysis: v=2.4 cv=b6rg4cGx c=1 sm=1 tr=0 ts=66f15551 a=WwxFCuf3mf1fs3oSi6/dng==:117 a=WwxFCuf3mf1fs3oSi6/dng==:17 a=iA8nSwyxL9--KYTu:21 a=IkcTkHD0fZMA:10 a=MKtGQD3n3ToA:10 a=1oJP67jkp3AA:10 a=i-ysbaDjlVrGAb9itc8A:9 a=QEXdDO2ut3YA:10 a=BXDaF_L80NY05PYiAFlV:22 X-AuthUser: carlos@maniero.me List-Unsubscribe: List-Subscribe: List-Archive: Archived-At: List-Post: List-ID: ~johnnyrichard/olang-devel <~johnnyrichard/olang-devel.lists.sr.ht> Sender: ~johnnyrichard/olang-devel <~johnnyrichard/olang-devel@lists.sr.ht> X-Migadu-Country: NL X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -4.00 X-Spam-Score: -4.00 X-Migadu-Scanner: mx13.migadu.com X-Migadu-Queue-Id: C974F102EC X-TUID: zUd8m/UJsD9h > This is okay for now, but probably we might need return without > expression (void functions) in the future. Since it recieve a pointer, I think it still valid. For void functions we can just pass *NULL* as expr.