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 documentation of opt.case_indent
details: https://anonhg.NetBSD.org/src/rev/422dd5f40c4d
branches: trunk
changeset: 1023824:422dd5f40c4d
user: rillig <rillig%NetBSD.org@localhost>
date: Sun Sep 26 21:32:58 2021 +0000
description:
indent: fix documentation of opt.case_indent
See io.c, compute_label_indent.
diffstat:
usr.bin/indent/indent_globs.h | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (22 lines):
diff -r 562bc6750f00 -r 422dd5f40c4d usr.bin/indent/indent_globs.h
--- a/usr.bin/indent/indent_globs.h Sun Sep 26 21:31:57 2021 +0000
+++ b/usr.bin/indent/indent_globs.h Sun Sep 26 21:32:58 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: indent_globs.h,v 1.39 2021/09/26 21:23:31 rillig Exp $ */
+/* $NetBSD: indent_globs.h,v 1.40 2021/09/26 21:32:58 rillig Exp $ */
/*-
* SPDX-License-Identifier: BSD-4-Clause
@@ -100,9 +100,9 @@
bool cuddle_else; /* whether 'else' should cuddle up to '}' */
int continuation_indent; /* the indentation between the
* edge of code and continuation lines */
- float case_indent; /* The distance (measured in tabsize) to
- * indent case labels from the switch
- * statement */
+ float case_indent; /* The distance (measured in indentation
+ * levels) to indent case labels from the
+ * switch statement */
int comment_column; /* the column in which comments to the right
* of code should start */
int decl_indent; /* indentation of identifier in declaration */
Home |
Main Index |
Thread Index |
Old Index