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: add reminder to make the code underst...



details:   https://anonhg.NetBSD.org/src/rev/5b5b85a8094a
branches:  trunk
changeset: 1024354:5b5b85a8094a
user:      rillig <rillig%NetBSD.org@localhost>
date:      Wed Oct 20 05:41:57 2021 +0000

description:
indent: add reminder to make the code understandable for humans

diffstat:

 usr.bin/indent/indent.h |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r de28faaa1bf1 -r 5b5b85a8094a usr.bin/indent/indent.h
--- a/usr.bin/indent/indent.h   Wed Oct 20 05:37:21 2021 +0000
+++ b/usr.bin/indent/indent.h   Wed Oct 20 05:41:57 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: indent.h,v 1.42 2021/10/20 05:37:21 rillig Exp $       */
+/*     $NetBSD: indent.h,v 1.43 2021/10/20 05:41:57 rillig Exp $       */
 
 /*-
  * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
@@ -249,6 +249,7 @@
 
 #define        STACKSIZE 256
 
+/* TODO: group the members by purpose, don't sort them alphabetically */
 extern struct parser_state {
     token_type last_token;
 



Home | Main Index | Thread Index | Old Index