Module Name:    src
Committed By:   rillig
Date:           Sun Oct 22 21:03:08 UTC 2023

Modified Files:
        src/tests/usr.bin/indent: lsym_unary_op.c opt_bad.c

Log Message:
tests/indent: clean up comments


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/tests/usr.bin/indent/lsym_unary_op.c \
    src/tests/usr.bin/indent/opt_bad.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/tests/usr.bin/indent/lsym_unary_op.c
diff -u src/tests/usr.bin/indent/lsym_unary_op.c:1.12 src/tests/usr.bin/indent/lsym_unary_op.c:1.13
--- src/tests/usr.bin/indent/lsym_unary_op.c:1.12	Sat Jun 17 22:09:24 2023
+++ src/tests/usr.bin/indent/lsym_unary_op.c	Sun Oct 22 21:03:08 2023
@@ -1,4 +1,4 @@
-/* $NetBSD: lsym_unary_op.c,v 1.12 2023/06/17 22:09:24 rillig Exp $ */
+/* $NetBSD: lsym_unary_op.c,v 1.13 2023/10/22 21:03:08 rillig Exp $ */
 
 /*
  * Tests for the token lsym_unary_op, which represents a unary operator.
@@ -50,8 +50,8 @@ int same = + + + + +- - - - -3;
 
 
 /*
- * A special kind of unary operator is '->', which additionally suppresses the
- * next space.
+ * The operator '->' is special as it additionally suppresses the space between
+ * the operator and its right operand.
  */
 //indent input
 int var = p -> member;
Index: src/tests/usr.bin/indent/opt_bad.c
diff -u src/tests/usr.bin/indent/opt_bad.c:1.12 src/tests/usr.bin/indent/opt_bad.c:1.13
--- src/tests/usr.bin/indent/opt_bad.c:1.12	Mon Jun 26 14:54:40 2023
+++ src/tests/usr.bin/indent/opt_bad.c	Sun Oct 22 21:03:08 2023
@@ -1,4 +1,4 @@
-/* $NetBSD: opt_bad.c,v 1.12 2023/06/26 14:54:40 rillig Exp $ */
+/* $NetBSD: opt_bad.c,v 1.13 2023/10/22 21:03:08 rillig Exp $ */
 
 /*
  * Tests for the options '-bad' and '-nbad'.
@@ -174,7 +174,7 @@ initializer_with_blank(void)
 	/* comment */
 	int decl2;
 	// $ If the declaration is followed by a '}' that terminates the block
-	// $ statement, * there is no need for a blank line before the '}'.
+	// $ statement, there is no need for a blank line before the '}'.
 }
 //indent end
 

Reply via email to