From eca84853e4d7985ed2d4c2477620225f734e87f0 Mon Sep 17 00:00:00 2001 From: Will Estes Date: Fri, 17 Feb 2012 21:21:44 +0000 Subject: [PATCH] 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 ) -- 2.40.0