Received: by mail.netbsd.org (Postfix, from userid 605) id 74E1B84E90; Sat, 10 Jul 2021 10:56:32 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id A7C7B84E8F for ; Sat, 10 Jul 2021 10:56:31 +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 KMvVC-6pMOCR for ; Sat, 10 Jul 2021 10:56:31 +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 4054384CDC for ; Sat, 10 Jul 2021 10:56:31 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 392AAFA95; Sat, 10 Jul 2021 10:56:31 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Sat, 10 Jul 2021 10:56:31 +0000 From: "Roland Illig" Subject: CVS commit: src To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20210710105631.392AAFA95@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 Jul 10 10:56:31 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: d_c99_anon_struct.c src/usr.bin/xlint/lint1: cgram.y Log Message: lint: remove noclass_declmods from grammar That rule was hard to understand since it contained clrtyp but not the corresponding deftyp. It's easier to read when a grammar rule contains both clrtyp and deftyp in the same line. C99 does not mention the term 'decl-modifier' anywhere, and in fact the only thing that this grammar rule allowed was a type-qualifier-list. The new name better reflect this. No functional change. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/tests/usr.bin/xlint/lint1/d_c99_anon_struct.c cvs rdiff -u -r1.286 -r1.287 src/usr.bin/xlint/lint1/cgram.y Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.