summaryrefslogtreecommitdiff
path: root/usr.bin/indent/debug.c
diff options
context:
space:
mode:
authorrillig <rillig@NetBSD.org>2023-06-09 18:09:30 +0000
committerrillig <rillig@NetBSD.org>2023-06-09 18:09:30 +0000
commit2aed567c621ebd64482c1541b7bfa8fa26056583 (patch)
treea33ee00c8320dd1d0d23fced08a0e7cf5a5126cc /usr.bin/indent/debug.c
parent3c1a77d78657a9dc0f397d3162659e549d56c0c0 (diff)
indent: sync debug information for lexer symbols
Diffstat (limited to 'usr.bin/indent/debug.c')
-rw-r--r--usr.bin/indent/debug.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/usr.bin/indent/debug.c b/usr.bin/indent/debug.c
index f5e52413cea..8a496c1116a 100644
--- a/usr.bin/indent/debug.c
+++ b/usr.bin/indent/debug.c
@@ -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",
- "lbracket",
"rparen",
+ "lbracket",
"rbracket",
"lbrace",
"rbrace",
"period",
"unary_op",
- "binary_op",
+ "sizeof",
+ "offsetof",
"postfix_op",
+ "binary_op",
"question",
"'?:' colon",
- "label colon",
- "other colon",
"comma",
- "semicolon",
"typedef",
"modifier",
+ "tag",
"type_outside_parentheses",
"type_in_parentheses",
- "tag",
- "case",
- "default",
- "sizeof",
- "offsetof",
"word",
"funcname",
+ "label colon",
+ "other colon",
+ "semicolon",
+ "case",
+ "default",
"do",
"else",
"for",