Module Name:    src
Committed By:   rillig
Date:           Fri Jun  9 18:09:30 UTC 2023

Modified Files:
        src/usr.bin/indent: debug.c

Log Message:
indent: sync debug information for lexer symbols


To generate a diff of this commit:
cvs rdiff -u -r1.42 -r1.43 src/usr.bin/indent/debug.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.bin/indent/debug.c
diff -u src/usr.bin/indent/debug.c:1.42 src/usr.bin/indent/debug.c:1.43
--- src/usr.bin/indent/debug.c:1.42	Fri Jun  9 10:24:55 2023
+++ src/usr.bin/indent/debug.c	Fri Jun  9 18:09:30 2023
@@ -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",

Reply via email to