Module Name:    src
Committed By:   rillig
Date:           Thu Nov 25 07:47:55 UTC 2021

Modified Files:
        src/usr.bin/indent: indent.h

Log Message:
indent: fix comment for ps.in_decl

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


To generate a diff of this commit:
cvs rdiff -u -r1.100 -r1.101 src/usr.bin/indent/indent.h

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/indent/indent.h
diff -u src/usr.bin/indent/indent.h:1.100 src/usr.bin/indent/indent.h:1.101
--- src/usr.bin/indent/indent.h:1.100	Thu Nov 25 07:45:32 2021
+++ src/usr.bin/indent/indent.h	Thu Nov 25 07:47:55 2021
@@ -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 @@ extern struct parser_state {
 				 * 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;

Reply via email to