Module Name:    src
Committed By:   rillig
Date:           Sun Nov  7 13:43:11 UTC 2021

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

Log Message:
indent: document the comment buffer more accurately


To generate a diff of this commit:
cvs rdiff -u -r1.82 -r1.83 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.82 src/usr.bin/indent/indent.h:1.83
--- src/usr.bin/indent/indent.h:1.82	Sun Nov  7 08:24:50 2021
+++ src/usr.bin/indent/indent.h	Sun Nov  7 13:43:11 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: indent.h,v 1.82 2021/11/07 08:24:50 rillig Exp $	*/
+/*	$NetBSD: indent.h,v 1.83 2021/11/07 13:43:11 rillig Exp $	*/
 
 /*-
  * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
@@ -159,7 +159,9 @@ extern struct buffer token;	/* the curre
 extern struct buffer lab;	/* the label or preprocessor directive */
 extern struct buffer code;	/* the main part of the current line of code */
 extern struct buffer com;	/* the trailing comment of the line, or the
-				 * start or end of a multi-line comment */
+				 * start or end of a multi-line comment, or
+				 * while in process_comment, a single line of
+				 * a multi-line comment */
 
 extern char sc_buf[sc_size];	/* input text is saved here when looking for
 				 * the brace after an if, while, etc */

Reply via email to