Received: by mail.netbsd.org (Postfix, from userid 605) id 6A44584F6A; Sun, 27 Feb 2022 18:29:16 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 9BD7A84F0A for ; Sun, 27 Feb 2022 18:29:15 +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 P03ia-jjkxi3 for ; Sun, 27 Feb 2022 18:29:15 +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 25B1F84CFD for ; Sun, 27 Feb 2022 18:29:15 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 13D16FB24; Sun, 27 Feb 2022 18:29:15 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Sun, 27 Feb 2022 18:29:15 +0000 From: "Roland Illig" Subject: CVS commit: src/usr.bin/xlint/lint1 To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20220227182915.13D16FB24@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: Sun Feb 27 18:29:14 UTC 2022 Modified Files: src/usr.bin/xlint/lint1: ckgetopt.c debug.c emit1.c lex.c lint1.h tree.c Log Message: lint: merge duplicate code for handling plain and wide strings No functional change. As before, the string literals "1" "2" "3" are not concatenated from left to right, instead concatenation starts with "23" and then proceeds to "123". To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 src/usr.bin/xlint/lint1/ckgetopt.c cvs rdiff -u -r1.7 -r1.8 src/usr.bin/xlint/lint1/debug.c cvs rdiff -u -r1.60 -r1.61 src/usr.bin/xlint/lint1/emit1.c cvs rdiff -u -r1.102 -r1.103 src/usr.bin/xlint/lint1/lex.c cvs rdiff -u -r1.141 -r1.142 src/usr.bin/xlint/lint1/lint1.h cvs rdiff -u -r1.409 -r1.410 src/usr.bin/xlint/lint1/tree.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.