[geany/geany] 02138f: Rename TM_DEBUG macro to DEBUG

Jiří Techet git-noreply at xxxxx
Sat Sep 10 07:26:28 UTC 2016


Branch:      refs/heads/master
Author:      Jiří Techet <techet at gmail.com>
Committer:   Jiří Techet <techet at gmail.com>
Date:        Sun, 07 Aug 2016 16:31:30 UTC
Commit:      02138f9e59cc5d57b3db617561d00bb09110b1a0
             https://github.com/geany/geany/commit/02138f9e59cc5d57b3db617561d00bb09110b1a0

Log Message:
-----------
Rename TM_DEBUG macro to DEBUG


Modified Paths:
--------------
    ctags/main/keyword.c
    ctags/main/keyword.h
    ctags/main/main.c
    ctags/parsers/c.c

Modified: ctags/main/keyword.c
2 lines changed, 1 insertions(+), 1 deletions(-)
===================================================================
@@ -175,7 +175,7 @@ extern void freeKeywordTable (void)
 	}
 }
 
-#ifdef TM_DEBUG
+#ifdef DEBUG
 
 static void printEntry (const hashEntry *const entry)
 {


Modified: ctags/main/keyword.h
2 lines changed, 1 insertions(+), 1 deletions(-)
===================================================================
@@ -22,7 +22,7 @@
 extern void addKeyword (const char *const string, langType language, int value);
 extern int lookupKeyword (const char *const string, langType language);
 extern void freeKeywordTable (void);
-#ifdef TM_DEBUG
+#ifdef DEBUG
 extern void printKeywordTable (void);
 #endif
 


Modified: ctags/main/main.c
2 lines changed, 1 insertions(+), 1 deletions(-)
===================================================================
@@ -160,7 +160,7 @@ static void printTotals (const clock_t *const timeStamps)
 		fputc ('\n', errout);
 	}
 
-#ifdef TM_DEBUG
+#ifdef DEBUG
 	fprintf (errout, "longest tag line = %lu\n",
 			(unsigned long) TagFile.max.line);
 #endif


Modified: ctags/parsers/c.c
2 lines changed, 1 insertions(+), 1 deletions(-)
===================================================================
@@ -687,7 +687,7 @@ static const char *implementationString (const impType imp)
 *   Debugging functions
 */
 
-#ifdef TM_DEBUG
+#ifdef DEBUG
 
 #define boolString(c)   ((c) ? "TRUE" : "FALSE")
 



--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).


More information about the Commits mailing list