changeset 940:9b00b868e308

Change to debug function instead of error macro in fdd.l debug
author Sebastien Decugis <sdecugis@freediameter.net>
date Tue, 12 Mar 2013 15:39:43 +0100
parents 1bc052ef961f
children 652713ce3596
files libfdcore/fdd.l
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libfdcore/fdd.l	Tue Mar 12 15:27:59 2013 +0100
+++ b/libfdcore/fdd.l	Tue Mar 12 15:39:43 2013 +0100
@@ -51,7 +51,7 @@
 #define YY_USER_ACTION { 						\
 	yylloc->first_column = yylloc->last_column + 1; 		\
 	yylloc->last_column = yylloc->first_column + yyleng - 1;	\
-	TRACE_DEBUG_ERROR( 						\
+	fd_log_debug(	 						\
 		"(%d:%d-%d:%d) matched rule %d, length=%d, txt='%s'\n",	\
 		yylloc->first_line, yylloc->first_column, 		\
 		yylloc->last_line, yylloc->last_column, 		\
"Welcome to our mercurial repository"