diff options
| author | Paul Buetow <paul@buetow.org> | 2008-10-20 18:36:28 +0000 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2008-10-20 18:36:28 +0000 |
| commit | 1956010ec79fbab604efc2b60d0af325e91f67b8 (patch) | |
| tree | 81b68e7ed20368d482fdbfe0e65a884958410543 /src/core/token.c | |
| parent | 3d7b35bb37c066489546751e100c2c2b823ccba3 (diff) | |
Improved GC debugging.
Debugging printings now labeled with DEBUG::$NAME::$ETC::..:
Diffstat (limited to 'src/core/token.c')
| -rw-r--r-- | src/core/token.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/token.c b/src/core/token.c index 2f08097..4fb298e 100644 --- a/src/core/token.c +++ b/src/core/token.c @@ -340,7 +340,7 @@ token_delete(Token *p_token) { if (token_ref_down(p_token) <= 0) { if (p_token->i_ref_count == 0) { #ifdef DEBUG_TOKEN_REFCOUNT - printf("Token refcount debug: Token ref count is 0 == %d\n", + printf("DEBUG::TOKEN::REFCOUNT: Token refcount debug: Token ref count is 0 == %d\n", p_token->i_ref_count); #endif /* DEBUG_TOKEN_REFCOUNT */ if (p_token->c_val) @@ -353,7 +353,7 @@ token_delete(Token *p_token) { } #ifdef DEBUG_TOKEN_REFCOUNT else { - printf("Token refcount debug: Token ref count is 0 > %d\n", + printf("DEBUG::TOKEN::REFCOUNT: Token refcount debug: Token ref count is 0 > %d\n", p_token->i_ref_count); } #endif /* DEBUG_TOKEN_REFCOUNT */ |
