From 5af9cc14b70f907f0d10a75aa28ad04bbd65ec0d Mon Sep 17 00:00:00 2001 From: "N.N." Date: Fri, 10 Dec 2004 20:47:06 +0000 Subject: restricted debug garbage to krzYszcz, few fixes in toxy svn path=/trunk/externals/miXed/; revision=2364 --- cyclone/hammer/Table.c | 2 ++ cyclone/hammer/coll.c | 4 +++- cyclone/hammer/comment.c | 2 ++ cyclone/hammer/mtr.c | 4 +++- cyclone/hammer/prob.c | 4 +++- cyclone/hammer/seq.c | 2 ++ cyclone/hammer/sprintf.c | 2 ++ cyclone/hammer/zl.c | 2 ++ 8 files changed, 19 insertions(+), 3 deletions(-) (limited to 'cyclone/hammer') diff --git a/cyclone/hammer/Table.c b/cyclone/hammer/Table.c index e613293..66543e3 100644 --- a/cyclone/hammer/Table.c +++ b/cyclone/hammer/Table.c @@ -15,7 +15,9 @@ #include "common/rand.h" #include "hammer/file.h" +#ifdef KRZYSZCZ #define TABLE_DEBUG +#endif #define TABLE_INISIZE 256 /* LATER rethink */ #define TABLE_DEFLENGTH 128 /* CHECKED */ diff --git a/cyclone/hammer/coll.c b/cyclone/hammer/coll.c index 031f6c6..ee2da0c 100644 --- a/cyclone/hammer/coll.c +++ b/cyclone/hammer/coll.c @@ -14,7 +14,9 @@ /* LATER make sure that ``reentrancy protection hack'' is really working... */ /* CHECKME default fname for 'write' -- c_filename, x_name, nothing? */ -#define COLL_DEBUG +#ifdef KRZYSZCZ +//#define COLL_DEBUG +#endif enum { COLL_HEADRESET, COLL_HEADNEXT, COLL_HEADPREV, /* distinction not used, currently */ diff --git a/cyclone/hammer/comment.c b/cyclone/hammer/comment.c index 03d4d03..567c5b1 100644 --- a/cyclone/hammer/comment.c +++ b/cyclone/hammer/comment.c @@ -20,7 +20,9 @@ /* our proxy of the text_class (not in the API), LATER do not cheat */ static t_class *makeshift_class; +#ifdef KRZYSZCZ //#define COMMENT_DEBUG +#endif #define COMMENT_LMARGIN 1 #define COMMENT_RMARGIN 1 diff --git a/cyclone/hammer/mtr.c b/cyclone/hammer/mtr.c index 51ba856..8b1b220 100644 --- a/cyclone/hammer/mtr.c +++ b/cyclone/hammer/mtr.c @@ -12,7 +12,9 @@ #include "common/loud.h" #include "hammer/file.h" -#define MTR_DEBUG +#ifdef KRZYSZCZ +//#define MTR_DEBUG +#endif #define MTR_C74MAXTRACKS 32 #define MTR_FILEBUFSIZE 4096 diff --git a/cyclone/hammer/prob.c b/cyclone/hammer/prob.c index 114a41d..6053808 100644 --- a/cyclone/hammer/prob.c +++ b/cyclone/hammer/prob.c @@ -12,7 +12,9 @@ were added to the list's head, and new transition-entries were added to the sublist's head. No sorting of any kind. */ -#define PROB_DEBUG 0 +#ifdef KRZYSZCZ +//#define PROB_DEBUG +#endif typedef struct _probtrans { diff --git a/cyclone/hammer/seq.c b/cyclone/hammer/seq.c index f29c803..c239478 100644 --- a/cyclone/hammer/seq.c +++ b/cyclone/hammer/seq.c @@ -15,7 +15,9 @@ #include "unstable/forky.h" #include "hammer/file.h" +#ifdef KRZYSZCZ #define SEQ_DEBUG +#endif #define SEQ_INISEQSIZE 256 /* LATER rethink */ #define SEQ_INITEMPOMAPSIZE 128 /* LATER rethink */ diff --git a/cyclone/hammer/sprintf.c b/cyclone/hammer/sprintf.c index cc9f2a7..47d94ec 100644 --- a/cyclone/hammer/sprintf.c +++ b/cyclone/hammer/sprintf.c @@ -7,7 +7,9 @@ #include "m_pd.h" #include "common/loud.h" +#ifdef KRZYSZCZ //#define SPRINTF_DEBUG +#endif /* Pattern types. These are the parsing routine's return values. If returned value is >= SPRINTF_MINSLOTTYPE, then another slot diff --git a/cyclone/hammer/zl.c b/cyclone/hammer/zl.c index 994eef9..7a5d471 100644 --- a/cyclone/hammer/zl.c +++ b/cyclone/hammer/zl.c @@ -12,7 +12,9 @@ /* CHECKME bang behaviour (every mode) */ /* LATER test reentrancy, tune speedwise */ +#ifdef KRZYSZCZ #define ZL_DEBUG +#endif #define ZL_INISIZE 32 /* LATER rethink */ #define ZL_MAXSIZE 256 -- cgit v1.2.1