Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 6E27584EB9 for ; Sun, 18 Jun 2023 06:56:34 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id MLThoThYbSB8 for ; Sun, 18 Jun 2023 06:56:34 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 015C184EB1 for ; Sun, 18 Jun 2023 06:56:33 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 1E28CFA89; Sun, 18 Jun 2023 06:56:33 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Sun, 18 Jun 2023 06:56:33 +0000 From: "Roland Illig" Subject: CVS commit: src/usr.bin/indent To: source-changes@NetBSD.org Approved: for-source-only Reply-To: rillig@netbsd.org X-Mailer: log_accum Message-Id: <20230618065633.1E28CFA89@cvs.NetBSD.org> Module Name: src Committed By: rillig Date: Sun Jun 18 06:56:33 UTC 2023 Modified Files: src/usr.bin/indent: parse.c Log Message: indent: untangle code for handling the statement indentation The expression 'psyms.level-- - 2' did too much in a single line, so extract the '--' to a separate statement, to highlight the symmetry between the 'sym' and 'ind_level' code. No functional change. To generate a diff of this commit: cvs rdiff -u -r1.78 -r1.79 src/usr.bin/indent/parse.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.