From: Matthias Braun Date: Sun, 18 Sep 2005 15:21:36 +0000 (+0000) Subject: fix miniswig outputting some \n from time to time X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=bebd7d5ed7c8407e0e1a05f317ab42ea3ecd3f32;p=supertux.git fix miniswig outputting some \n from time to time SVN-Revision: 2778 --- diff --git a/tools/miniswig/lexer.ll b/tools/miniswig/lexer.ll index e22fac141..42d7f648c 100644 --- a/tools/miniswig/lexer.ll +++ b/tools/miniswig/lexer.ll @@ -7,6 +7,10 @@ #include "parser.hpp" #include "globals.hpp" +// there seems to be a bug in flex that adds some ECHO directives +// in some rules, we don't need debug output +#define ECHO {} + #define YY_NEVER_INTERACTIVE 1 #define YY_DECL int yylex(YYSTYPE* yylval)