Received: by mail.netbsd.org (Postfix, from userid 605) id 0375484E9E; Sat, 20 Nov 2021 09:43:05 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 2A17984E9C for ; Sat, 20 Nov 2021 09:43:04 +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 uZpD0VRQ15Cn for ; Sat, 20 Nov 2021 09:43:03 +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 B32F184E75 for ; Sat, 20 Nov 2021 09:43:03 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id A66C9FAEC; Sat, 20 Nov 2021 09:43:03 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Sat, 20 Nov 2021 09:43:03 +0000 From: "Roland Illig" Subject: CVS commit: src To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20211120094303.A66C9FAEC@cvs.NetBSD.org> Sender: source-changes-owner@NetBSD.org List-Id: Precedence: bulk Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: "Roland Illig" Mail-Followup-To: source-changes-d@NetBSD.org List-Unsubscribe: Module Name: src Committed By: rillig Date: Sat Nov 20 09:43:03 UTC 2021 Modified Files: src/tests/usr.bin/indent: lsym_word.c src/usr.bin/indent: lexi.c Log Message: indent: fix tokenizing of word-like tokens (since 2019-04-04) After a backslash-newline, the first character of the next line is only part of the identifier if it is an identifier character. indent-2000.10.11.14.46.04 | int var \ | +name = 4; indent-2012.11.20.03.02.57 indent-2014.09.04.04.06.07 | int var \ | +name = 4; indent-2019.02.03.03.19.29 indent-2019.04.04.15.27.35 | int var+name = 4; indent-2021.11.19.20.23.17 indent | int var + name = 4; To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/tests/usr.bin/indent/lsym_word.c cvs rdiff -u -r1.148 -r1.149 src/usr.bin/indent/lexi.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.