From b08629f92b20a470cfd11ad03fe4d9085a2612d2 Mon Sep 17 00:00:00 2001 From: Ran Benita Date: Fri, 6 Apr 2012 05:09:17 +0300 Subject: [PATCH] Do not enable yacc trace facility unconditionally Define DEBUG and set yydebug if you want that. Signed-off-by: Ran Benita --- src/xkbcomp/misc.c | 1 - src/xkbcomp/xkbparse.y | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) 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 #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