068952c
From: Roger Shimizu <rogershimizu@gmail.com>
068952c
Date: Thu, 10 Sep 2015 22:19:10 +0900
068952c
Subject: fix a redefined "YYDEBUG" warning of gcc for the code generated by
068952c
 bison/flex
068952c
068952c
Signed-off-by: Roger Shimizu <rogershimizu@gmail.com>
068952c
---
068952c
 cftoken.l | 3 +++
068952c
 1 file changed, 3 insertions(+)
068952c
068952c
diff --git a/cftoken.l b/cftoken.l
068952c
index f480406..e307357 100644
068952c
--- a/cftoken.l
068952c
+++ b/cftoken.l
068952c
@@ -72,6 +72,9 @@ static int yy_first_time = 1;
068952c
 static int yyerrorcount = 0;
068952c
  
068952c
 #ifndef NOCONFIG_DEBUG
068952c
+#ifdef YYDEBUG
068952c
+#undef YYDEBUG
068952c
+#endif
068952c
 #define YYDEBUG 1
068952c
 
068952c
 int cfdebug = 1;