Module Name: src Committed By: rillig Date: Sat Dec 18 11:37:00 UTC 2021
Modified Files: src/usr.bin/xlint/lint1: cgram.y Log Message: lint: format grammar consistently No binary change. To generate a diff of this commit: cvs rdiff -u -r1.375 -r1.376 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.375 src/usr.bin/xlint/lint1/cgram.y:1.376 --- src/usr.bin/xlint/lint1/cgram.y:1.375 Thu Dec 16 23:46:21 2021 +++ src/usr.bin/xlint/lint1/cgram.y Sat Dec 18 11:37:00 2021 @@ -1,5 +1,5 @@ %{ -/* $NetBSD: cgram.y,v 1.375 2021/12/16 23:46:21 rillig Exp $ */ +/* $NetBSD: cgram.y,v 1.376 2021/12/18 11:37:00 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.375 2021/12/16 23:46:21 rillig Exp $"); +__RCSID("$NetBSD: cgram.y,v 1.376 2021/12/18 11:37:00 rillig Exp $"); #endif #include <limits.h> @@ -1374,11 +1374,11 @@ array_size: $$ = $3; } | T_QUAL { - /* C11, 6.7.6.2 */ + /* C11 6.7.6.2 */ if ($1 != RESTRICT) yyerror("Bad attribute"); $$ = NULL; - } + } | constant_expr ;