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: sync debug information for lexer symbols



details:   https://anonhg.NetBSD.org/src/rev/c435b76045b1
branches:  trunk
changeset: 376296:c435b76045b1
user:      rillig <rillig%NetBSD.org@localhost>
date:      Fri Jun 09 18:09:30 2023 +0000

description:
indent: sync debug information for lexer symbols

diffstat:

 usr.bin/indent/debug.c |  24 ++++++++++++------------
 1 files changed, 12 insertions(+), 12 deletions(-)

diffs (61 lines):

diff -r 6f2d6629820f -r c435b76045b1 usr.bin/indent/debug.c
--- a/usr.bin/indent/debug.c    Fri Jun 09 16:23:43 2023 +0000
+++ b/usr.bin/indent/debug.c    Fri Jun 09 18:09:30 2023 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: debug.c,v 1.42 2023/06/09 10:24:55 rillig Exp $        */
+/*     $NetBSD: debug.c,v 1.43 2023/06/09 18:09:30 rillig Exp $        */
 
 /*-
  * Copyright (c) 2023 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: debug.c,v 1.42 2023/06/09 10:24:55 rillig Exp $");
+__RCSID("$NetBSD: debug.c,v 1.43 2023/06/09 18:09:30 rillig Exp $");
 
 #include <stdarg.h>
 
@@ -50,32 +50,32 @@ const char *const lsym_name[] = {
        "newline",
        "comment",
        "lparen",
+       "rparen",
        "lbracket",
-       "rparen",
        "rbracket",
        "lbrace",
        "rbrace",
        "period",
        "unary_op",
+       "sizeof",
+       "offsetof",
+       "postfix_op",
        "binary_op",
-       "postfix_op",
        "question",
        "'?:' colon",
-       "label colon",
-       "other colon",
        "comma",
-       "semicolon",
        "typedef",
        "modifier",
+       "tag",
        "type_outside_parentheses",
        "type_in_parentheses",
-       "tag",
+       "word",
+       "funcname",
+       "label colon",
+       "other colon",
+       "semicolon",
        "case",
        "default",
-       "sizeof",
-       "offsetof",
-       "word",
-       "funcname",
        "do",
        "else",
        "for",



Home | Main Index | Thread Index | Old Index