Module Name: src
Committed By: christos
Date: Fri Mar 27 21:48:26 UTC 2009
Modified Files:
src/usr.bin/ctags: C.c
Log Message:
remove debugging code.
To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/usr.bin/ctags/C.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/ctags/C.c
diff -u src/usr.bin/ctags/C.c:1.16 src/usr.bin/ctags/C.c:1.17
--- src/usr.bin/ctags/C.c:1.16 Fri Mar 27 17:48:05 2009
+++ src/usr.bin/ctags/C.c Fri Mar 27 17:48:26 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: C.c,v 1.16 2009/03/27 21:48:05 christos Exp $ */
+/* $NetBSD: C.c,v 1.17 2009/03/27 21:48:26 christos Exp $ */
/*
* Copyright (c) 1987, 1993, 1994
@@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)C.c 8.4 (Berkeley) 4/2/94";
#else
-__RCSID("$NetBSD: C.c,v 1.16 2009/03/27 21:48:05 christos Exp $");
+__RCSID("$NetBSD: C.c,v 1.17 2009/03/27 21:48:26 christos Exp $");
#endif
#endif /* not lint */
@@ -216,7 +216,6 @@
break;
*sp = EOS;
if (tflag) {
-printf("1. %s t_def=%d level=%d t_level=%d\n", tok, t_def, level, t_level);
/* no typedefs inside typedefs */
if (!t_def &&
!memcmp(tok, "typedef",8)) {
@@ -224,7 +223,6 @@
t_level = level;
break;
}
-printf("2. %s t_def=%d level=%d t_level=%d\n", tok, t_def, level, t_level);
/* catch "typedef struct" */
if ((!t_def || t_level <= level)
&& (!memcmp(tok, "struct", 7)