Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id DE75484EDC for ; Wed, 14 Jun 2023 20:46:08 +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 OoCYn3RIqypB for ; Wed, 14 Jun 2023 20:46:08 +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 71F1784CD8 for ; Wed, 14 Jun 2023 20:46:08 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 6B09BFA89; Wed, 14 Jun 2023 20:46:08 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Wed, 14 Jun 2023 20:46:08 +0000 From: "Roland Illig" Subject: CVS commit: src To: source-changes@NetBSD.org Approved: for-source-only Reply-To: rillig@netbsd.org X-Mailer: log_accum Message-Id: <20230614204608.6B09BFA89@cvs.NetBSD.org> Module Name: src Committed By: rillig Date: Wed Jun 14 20:46:08 UTC 2023 Modified Files: src/tests/usr.bin/indent: fmt_block.c fmt_decl.c lsym_preprocessing.c opt_bc.c ps_ind_level.c psym_rbrace.c src/usr.bin/indent: debug.c indent.c indent.h parse.c Log Message: indent: clean up the code, add a few tests To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/tests/usr.bin/indent/fmt_block.c \ src/tests/usr.bin/indent/ps_ind_level.c cvs rdiff -u -r1.54 -r1.55 src/tests/usr.bin/indent/fmt_decl.c cvs rdiff -u -r1.13 -r1.14 src/tests/usr.bin/indent/lsym_preprocessing.c cvs rdiff -u -r1.11 -r1.12 src/tests/usr.bin/indent/opt_bc.c cvs rdiff -u -r1.3 -r1.4 src/tests/usr.bin/indent/psym_rbrace.c cvs rdiff -u -r1.60 -r1.61 src/usr.bin/indent/debug.c cvs rdiff -u -r1.366 -r1.367 src/usr.bin/indent/indent.c cvs rdiff -u -r1.196 -r1.197 src/usr.bin/indent/indent.h cvs rdiff -u -r1.76 -r1.77 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.