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: enhance comments for lex_number state...
details: https://anonhg.NetBSD.org/src/rev/b37dbed2eee7
branches: trunk
changeset: 1024057:b37dbed2eee7
user: rillig <rillig%NetBSD.org@localhost>
date: Fri Oct 08 21:18:43 2021 +0000
description:
indent: enhance comments for lex_number state machine
No functional change.
diffstat:
usr.bin/indent/lexi.c | 36 ++++++++++++++++++------------------
1 files changed, 18 insertions(+), 18 deletions(-)
diffs (57 lines):
diff -r db6450cc5819 -r b37dbed2eee7 usr.bin/indent/lexi.c
--- a/usr.bin/indent/lexi.c Fri Oct 08 21:16:23 2021 +0000
+++ b/usr.bin/indent/lexi.c Fri Oct 08 21:18:43 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: lexi.c,v 1.82 2021/10/08 21:16:23 rillig Exp $ */
+/* $NetBSD: lexi.c,v 1.83 2021/10/08 21:18:43 rillig Exp $ */
/*-
* SPDX-License-Identifier: BSD-4-Clause
@@ -43,7 +43,7 @@
#include <sys/cdefs.h>
#if defined(__NetBSD__)
-__RCSID("$NetBSD: lexi.c,v 1.82 2021/10/08 21:16:23 rillig Exp $");
+__RCSID("$NetBSD: lexi.c,v 1.83 2021/10/08 21:18:43 rillig Exp $");
#elif defined(__FreeBSD__)
__FBSDID("$FreeBSD: head/usr.bin/indent/lexi.c 337862 2018-08-15 18:19:45Z pstef $");
#endif
@@ -138,22 +138,22 @@
r 11ee0001101lbuuxx.a.pp
t.01.e+008bLuxll0Ll.aa.p+0
states: ABCDEFGHIJKLMNOPQRSTUVWXYZ */
- [0] = "uuiifuufiuuiiuiiiiiuiuuuuu",
- [1] = "CEIDEHHHIJQ U Q VUVVZZZ",
- [2] = "DEIDEHHHIJQ U Q VUVVZZZ",
- [3] = "DEIDEHHHIJ U VUVVZZZ",
- [4] = "DEJDEHHHJJ U VUVVZZZ",
- [5] = " U VUVV ",
- [6] = " K U VUVV ",
- [7] = " FFF FF U VUVV ",
- [8] = " f f U VUVV f",
- [9] = " LLf fL PR Li L f",
- [10] = " OOf fO S P O i O f",
- [11] = " FFX ",
- [12] = " MM M i iiM M ",
- [13] = " N ",
- [14] = " G Y ",
- [15] = "B EE EE T W ",
+ [0] = "uuiifuufiuuiiuiiiiiuiuuuuu", /* (other) */
+ [1] = "CEIDEHHHIJQ U Q VUVVZZZ", /* 0 */
+ [2] = "DEIDEHHHIJQ U Q VUVVZZZ", /* 1 */
+ [3] = "DEIDEHHHIJ U VUVVZZZ", /* 2 3 4 5 6 7 */
+ [4] = "DEJDEHHHJJ U VUVVZZZ", /* 8 9 */
+ [5] = " U VUVV ", /* A a C c D d */
+ [6] = " K U VUVV ", /* B b */
+ [7] = " FFF FF U VUVV ", /* E e */
+ [8] = " f f U VUVV f", /* F f */
+ [9] = " LLf fL PR Li L f", /* L */
+ [10] = " OOf fO S P O i O f", /* l */
+ [11] = " FFX ", /* P p */
+ [12] = " MM M i iiM M ", /* U u */
+ [13] = " N ", /* X x */
+ [14] = " G Y ", /* + - */
+ [15] = "B EE EE T W ", /* . */
/* ABCDEFGHIJKLMNOPQRSTUVWXYZ */
};
/* INDENT ON */
Home |
Main Index |
Thread Index |
Old Index