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: indent grammar actions properly
details: https://anonhg.NetBSD.org/src/rev/7a4eb2359fd1
branches: trunk
changeset: 1022202:7a4eb2359fd1
user: rillig <rillig%NetBSD.org@localhost>
date: Fri Jul 09 06:37:11 2021 +0000
description:
lint: indent grammar actions properly
No functional change.
diffstat:
usr.bin/xlint/lint1/cgram.y | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (31 lines):
diff -r 576227f9f82e -r 7a4eb2359fd1 usr.bin/xlint/lint1/cgram.y
--- a/usr.bin/xlint/lint1/cgram.y Fri Jul 09 05:54:11 2021 +0000
+++ b/usr.bin/xlint/lint1/cgram.y Fri Jul 09 06:37:11 2021 +0000
@@ -1,5 +1,5 @@
%{
-/* $NetBSD: cgram.y,v 1.274 2021/07/08 19:08:03 rillig Exp $ */
+/* $NetBSD: cgram.y,v 1.275 2021/07/09 06:37:11 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.274 2021/07/08 19:08:03 rillig Exp $");
+__RCSID("$NetBSD: cgram.y,v 1.275 2021/07/09 06:37:11 rillig Exp $");
#endif
#include <limits.h>
@@ -2012,9 +2012,9 @@
/* https://gcc.gnu.org/onlinedocs/gcc/Attribute-Syntax.html */
gcc_attribute:
T_ATTRIBUTE T_LPAREN T_LPAREN {
- attron = true;
+ attron = true;
} gcc_attribute_spec_list {
- attron = false;
+ attron = false;
} T_RPAREN T_RPAREN
;
Home |
Main Index |
Thread Index |
Old Index