Module Name: src Committed By: rillig Date: Thu May 12 20:22:58 UTC 2022
Modified Files: src/usr.bin/xlint/lint1: cgram.y Log Message: lint: add message text to newly added call to gnuism Required by check-msgs.lua. To generate a diff of this commit: cvs rdiff -u -r1.413 -r1.414 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.
Modified files: Index: src/usr.bin/xlint/lint1/cgram.y diff -u src/usr.bin/xlint/lint1/cgram.y:1.413 src/usr.bin/xlint/lint1/cgram.y:1.414 --- src/usr.bin/xlint/lint1/cgram.y:1.413 Thu May 12 18:47:29 2022 +++ src/usr.bin/xlint/lint1/cgram.y Thu May 12 20:22:58 2022 @@ -1,5 +1,5 @@ %{ -/* $NetBSD: cgram.y,v 1.413 2022/05/12 18:47:29 martin Exp $ */ +/* $NetBSD: cgram.y,v 1.414 2022/05/12 20:22:58 rillig Exp $ */ /* * Copyright (c) 1996 Christopher G. Demetriou. All Rights Reserved. @@ -35,7 +35,7 @@ #include <sys/cdefs.h> #if defined(__RCSID) && !defined(lint) -__RCSID("$NetBSD: cgram.y,v 1.413 2022/05/12 18:47:29 martin Exp $"); +__RCSID("$NetBSD: cgram.y,v 1.414 2022/05/12 20:22:58 rillig Exp $"); #endif #include <limits.h> @@ -620,6 +620,7 @@ unary_expression: } /* gcc */ | T_ALIGNOF T_LPAREN unary_expression T_RPAREN { + /* non type argument to alignof is a GCC extension */ gnuism(349); if ($3 != NULL) $$ = build_alignof($3->tn_type);