Commit b08629f92b20a470cfd11ad03fe4d9085a2612d2

Ran Benita 2012-04-06T05:09:17

Do not enable yacc trace facility unconditionally Define DEBUG and set yydebug if you want that. Signed-off-by: Ran Benita <ran234@gmail.com>

diff --git a/src/xkbcomp/misc.c b/src/xkbcomp/misc.c
index 85b1a1b..ecd4d01 100644
--- a/src/xkbcomp/misc.c
+++ b/src/xkbcomp/misc.c
@@ -30,7 +30,6 @@
 #include "xkbpath.h"
 #include "keycodes.h"
 #include "misc.h"
-#include <X11/keysym.h>
 #include "parseutils.h"
 
 /***====================================================================***/
diff --git a/src/xkbcomp/xkbparse.y b/src/xkbcomp/xkbparse.y
index a5f0067..a7a8335 100644
--- a/src/xkbcomp/xkbparse.y
+++ b/src/xkbcomp/xkbparse.y
@@ -25,10 +25,10 @@
  ********************************************************/
 
 %{
-#define DEBUG 1
 #ifdef DEBUG
-#define	YYDEBUG 1
+#define YYDEBUG 1
 #endif
+
 #include "parseutils.h"
 #include "xkbmisc.h"
 #include <X11/keysym.h>