From 0e1f72b17dc8f24bee9c5390b47438da4e770dee Mon Sep 17 00:00:00 2001 From: wlestes Date: Fri, 17 Feb 2012 21:21:44 +0000 Subject: resolve #1990170 --- flex.skl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flex.skl b/flex.skl index 80fa8b1..60c141f 100644 --- a/flex.skl +++ b/flex.skl @@ -1078,7 +1078,7 @@ m4_ifdef( [[M4_YY_NOT_IN_HEADER]], /* This used to be an fputs(), but since the string might contain NUL's, * we now use fwrite(). */ -#define ECHO fwrite( yytext, yyleng, 1, yyout ) +#define ECHO do { if (fwrite( yytext, yyleng, 1, yyout )) {} } while (0) %endif %if-c++-only C++ definition #define ECHO LexerOutput( yytext, yyleng ) -- cgit v1.2.1