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: clean up indentation



details:   https://anonhg.NetBSD.org/src/rev/af33c7b988b8
branches:  trunk
changeset: 376627:af33c7b988b8
user:      rillig <rillig%NetBSD.org@localhost>
date:      Mon Jun 26 10:23:59 2023 +0000

description:
indent: clean up indentation

diffstat:

 usr.bin/indent/lexi.c |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (38 lines):

diff -r 424156e346c4 -r af33c7b988b8 usr.bin/indent/lexi.c
--- a/usr.bin/indent/lexi.c     Mon Jun 26 07:56:29 2023 +0000
+++ b/usr.bin/indent/lexi.c     Mon Jun 26 10:23:59 2023 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: lexi.c,v 1.236 2023/06/25 19:35:45 rillig Exp $        */
+/*     $NetBSD: lexi.c,v 1.237 2023/06/26 10:23:59 rillig Exp $        */
 
 /*-
  * SPDX-License-Identifier: BSD-4-Clause
@@ -38,7 +38,7 @@
  */
 
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: lexi.c,v 1.236 2023/06/25 19:35:45 rillig Exp $");
+__RCSID("$NetBSD: lexi.c,v 1.237 2023/06/26 10:23:59 rillig Exp $");
 
 #include <stdlib.h>
 #include <string.h>
@@ -207,8 +207,8 @@ lex_number(void)
 
                unsigned char row = lex_number_row[ch];
                if (lex_number_state[row][s - 'A'] == ' ') {
-                       // lex_number_state[0][s - 'A'] now indicates the type:
-                       // f = floating, i = integer, u = unknown
+                       // lex_number_state[0][s - 'A'] now indicates the type:
+                       // f = floating, i = integer, u = unknown
                        return;
                }
 
@@ -406,7 +406,7 @@ lexi_alnum(void)
        if (ps.prev_lsym == lsym_tag && ps.paren.len == 0)
                return lsym_type;
 
-       token_add_char('\0');           // Terminate in non-debug mode as well.
+       token_add_char('\0');   // Terminate in non-debug mode as well.
        token.len--;
        const struct keyword *kw = bsearch(token.s, keywords,
            array_length(keywords), sizeof(keywords[0]), cmp_keyword_by_name);



Home | Main Index | Thread Index | Old Index