Module Name:    src
Committed By:   rillig
Date:           Sat Mar  6 20:30:07 UTC 2021

Modified Files:
        src/usr.bin/indent: indent.c io.c parse.c

Log Message:
indent: fix space-tab alignment in indent's own code

These parts are not fixed automatically by indent since they are in box
comments.

No functional change.


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 src/usr.bin/indent/indent.c
cvs rdiff -u -r1.20 -r1.21 src/usr.bin/indent/io.c
cvs rdiff -u -r1.10 -r1.11 src/usr.bin/indent/parse.c

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.c
diff -u src/usr.bin/indent/indent.c:1.27 src/usr.bin/indent/indent.c:1.28
--- src/usr.bin/indent/indent.c:1.27	Thu Apr 23 00:17:34 2020
+++ src/usr.bin/indent/indent.c	Sat Mar  6 20:30:06 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: indent.c,v 1.27 2020/04/23 00:17:34 joerg Exp $	*/
+/*	$NetBSD: indent.c,v 1.28 2021/03/06 20:30:06 rillig Exp $	*/
 
 /*-
  * SPDX-License-Identifier: BSD-4-Clause
@@ -46,7 +46,7 @@ static char sccsid[] = "@(#)indent.c	5.1
 #include <sys/cdefs.h>
 #ifndef lint
 #if defined(__NetBSD__)
-__RCSID("$NetBSD: indent.c,v 1.27 2020/04/23 00:17:34 joerg Exp $");
+__RCSID("$NetBSD: indent.c,v 1.28 2021/03/06 20:30:06 rillig Exp $");
 #elif defined(__FreeBSD__)
 __FBSDID("$FreeBSD: head/usr.bin/indent/indent.c 340138 2018-11-04 19:24:49Z oshogbo $");
 #endif
@@ -228,7 +228,7 @@ main(int argc, char **argv)
         simple_backup_suffix = envval;
 
     /*--------------------------------------------------*\
-    |   		COMMAND LINE SCAN		 |
+    |			COMMAND LINE SCAN		 |
     \*--------------------------------------------------*/
 
 #ifdef undef

Index: src/usr.bin/indent/io.c
diff -u src/usr.bin/indent/io.c:1.20 src/usr.bin/indent/io.c:1.21
--- src/usr.bin/indent/io.c:1.20	Sat Oct 19 15:44:31 2019
+++ src/usr.bin/indent/io.c	Sat Mar  6 20:30:06 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: io.c,v 1.20 2019/10/19 15:44:31 christos Exp $	*/
+/*	$NetBSD: io.c,v 1.21 2021/03/06 20:30:06 rillig Exp $	*/
 
 /*-
  * SPDX-License-Identifier: BSD-4-Clause
@@ -46,7 +46,7 @@ static char sccsid[] = "@(#)io.c	8.1 (Be
 #include <sys/cdefs.h>
 #ifndef lint
 #if defined(__NetBSD__)
-__RCSID("$NetBSD: io.c,v 1.20 2019/10/19 15:44:31 christos Exp $");
+__RCSID("$NetBSD: io.c,v 1.21 2021/03/06 20:30:06 rillig Exp $");
 #elif defined(__FreeBSD__)
 __FBSDID("$FreeBSD: head/usr.bin/indent/io.c 334927 2018-06-10 16:44:18Z pstef $");
 #endif
@@ -277,7 +277,7 @@ compute_label_target(void)
  *
  * FUNCTION: Reads one block of input into input_buffer
  *
- * HISTORY: initial coding 	November 1976	D A Willcox of CAC 1/7/77 A
+ * HISTORY: initial coding	November 1976	D A Willcox of CAC 1/7/77 A
  * Willcox of CAC	Added check for switch back to partly full input
  * buffer from temporary buffer
  *
@@ -395,7 +395,7 @@ fill_buffer(void)
  *
  * CALLED BY: dump_line
  *
- * HISTORY: initial coding 	November 1976	D A Willcox of CAC
+ * HISTORY: initial coding	November 1976	D A Willcox of CAC
  *
  */
 static int
@@ -442,7 +442,7 @@ pad_output(int current, int target)
  * RETURNS: Integer value of position after printing "buffer" starting in column
  * "current".
  *
- * HISTORY: initial coding 	November 1976	D A Willcox of CAC
+ * HISTORY: initial coding	November 1976	D A Willcox of CAC
  *
  */
 int

Index: src/usr.bin/indent/parse.c
diff -u src/usr.bin/indent/parse.c:1.10 src/usr.bin/indent/parse.c:1.11
--- src/usr.bin/indent/parse.c:1.10	Sat Oct 19 15:44:31 2019
+++ src/usr.bin/indent/parse.c	Sat Mar  6 20:30:06 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: parse.c,v 1.10 2019/10/19 15:44:31 christos Exp $	*/
+/*	$NetBSD: parse.c,v 1.11 2021/03/06 20:30:06 rillig Exp $	*/
 
 /*-
  * SPDX-License-Identifier: BSD-4-Clause
@@ -265,7 +265,7 @@ parse(int tk) /* tk: the code for the co
  *
  * CALLED BY: parse
  *
- * HISTORY: initial coding 	November 1976	D A Willcox of CAC
+ * HISTORY: initial coding	November 1976	D A Willcox of CAC
  *
  */
 /*----------------------------------------------*\

Reply via email to