Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/indent indent: fix comment for ps.in_decl



details:   https://anonhg.NetBSD.org/src/rev/19a482b64257
branches:  trunk
changeset: 1026445:19a482b64257
user:      rillig <rillig%NetBSD.org@localhost>
date:      Thu Nov 25 07:47:55 2021 +0000

description:
indent: fix comment for ps.in_decl

In C, there are no declaration statements. There are declarations and
statements, but no combination thereof.

diffstat:

 usr.bin/indent/indent.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r df8ebf2a3058 -r 19a482b64257 usr.bin/indent/indent.h
--- a/usr.bin/indent/indent.h   Thu Nov 25 07:45:32 2021 +0000
+++ b/usr.bin/indent/indent.h   Thu Nov 25 07:47:55 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: indent.h,v 1.100 2021/11/25 07:45:32 rillig Exp $      */
+/*     $NetBSD: indent.h,v 1.101 2021/11/25 07:47:55 rillig Exp $      */
 
 /*-
  * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
@@ -305,7 +305,7 @@
                                 * declaration or an initializer */
     bool decl_on_line;         /* whether this line of code has part of a
                                 * declaration on it */
-    bool in_decl;              /* whether we are in a declaration stmt. The
+    bool in_decl;              /* whether we are in a declaration. The
                                 * processing of braces is then slightly
                                 * different */
     int just_saw_decl;



Home | Main Index | Thread Index | Old Index