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: add debug output for typedef declarat...
details: https://anonhg.NetBSD.org/src/rev/0a680bb122f8
branches: trunk
changeset: 376416:0a680bb122f8
user: rillig <rillig%NetBSD.org@localhost>
date: Fri Jun 16 23:17:22 2023 +0000
description:
indent: add debug output for typedef declarations
diffstat:
usr.bin/indent/debug.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r ed4f16e3d0b0 -r 0a680bb122f8 usr.bin/indent/debug.c
--- a/usr.bin/indent/debug.c Fri Jun 16 23:07:52 2023 +0000
+++ b/usr.bin/indent/debug.c Fri Jun 16 23:17:22 2023 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: debug.c,v 1.64 2023/06/16 11:48:32 rillig Exp $ */
+/* $NetBSD: debug.c,v 1.65 2023/06/16 23:17:22 rillig Exp $ */
/*-
* Copyright (c) 2023 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: debug.c,v 1.64 2023/06/16 11:48:32 rillig Exp $");
+__RCSID("$NetBSD: debug.c,v 1.65 2023/06/16 23:17:22 rillig Exp $");
#include <stdarg.h>
#include <string.h>
@@ -330,6 +330,7 @@ debug_parser_state(void)
debug_ps_enum(prev_lsym, lsym_name);
debug_ps_bool(in_stmt_or_decl);
debug_ps_bool(in_decl);
+ debug_ps_bool(in_typedef_decl);
debug_ps_bool(in_var_decl);
debug_ps_bool(in_init);
debug_ps_int(init_level);
Home |
Main Index |
Thread Index |
Old Index