Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/xlint/lint1 lint: format grammar consistently
details: https://anonhg.NetBSD.org/src/rev/14bd745e267e
branches: trunk
changeset: 1027740:14bd745e267e
user: rillig <rillig%NetBSD.org@localhost>
date: Sat Dec 18 11:37:00 2021 +0000
description:
lint: format grammar consistently
No binary change.
diffstat:
usr.bin/xlint/lint1/cgram.y | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (33 lines):
diff -r e4b679e953d5 -r 14bd745e267e usr.bin/xlint/lint1/cgram.y
--- a/usr.bin/xlint/lint1/cgram.y Sat Dec 18 11:25:15 2021 +0000
+++ b/usr.bin/xlint/lint1/cgram.y Sat Dec 18 11:37:00 2021 +0000
@@ -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 @@
$$ = $3;
}
| T_QUAL {
- /* C11, 6.7.6.2 */
+ /* C11 6.7.6.2 */
if ($1 != RESTRICT)
yyerror("Bad attribute");
$$ = NULL;
- }
+ }
| constant_expr
;
Home |
Main Index |
Thread Index |
Old Index