Received: by mail.netbsd.org (Postfix, from userid 605) id BC15084EB9; Mon, 17 Apr 2023 20:07:33 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id E716484EB7 for ; Mon, 17 Apr 2023 20:07:32 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id z54P6pTCFycu for ; Mon, 17 Apr 2023 20:07:32 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id 85A1684CCF for ; Mon, 17 Apr 2023 20:07:32 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 793FCFA85; Mon, 17 Apr 2023 20:07:32 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Mon, 17 Apr 2023 20:07:32 +0000 From: "Nikita" Subject: CVS commit: src/external/mit/lua/dist/src To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20230417200732.793FCFA85@cvs.NetBSD.org> Sender: source-changes-owner@NetBSD.org List-Id: Precedence: bulk Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: "Nikita" Mail-Followup-To: source-changes-d@NetBSD.org List-Unsubscribe: Module Name: src Committed By: nikita Date: Mon Apr 17 20:07:32 UTC 2023 Modified Files: src/external/mit/lua/dist/src: lparser.c Log Message: lua: apply upstream bugfix for "'break' may not properly close variable in a 'for' loop." Function 'leaveblock' was generating "break" label before removing variables from the closing block. If 'createlabel' created a 'close' instruction (which it did when matching a goto/break that exited the scope of an upvalue), that instruction would use the wrong level. To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/external/mit/lua/dist/src/lparser.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.