diff options
author | wlestes <wlestes> | 2012-02-17 21:21:44 +0000 |
---|---|---|
committer | wlestes <wlestes> | 2012-02-17 21:21:44 +0000 |
commit | 0e1f72b17dc8f24bee9c5390b47438da4e770dee (patch) | |
tree | b32d4a259f4c1d52fe2049ff28cf24a40566b9b3 | |
parent | 1f24cfc95d73c6788a66248906eae923eba831b5 (diff) | |
download | flex-0e1f72b17dc8f24bee9c5390b47438da4e770dee.tar.gz |
resolve #1990170
-rw-r--r-- | flex.skl | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 ) |