From: Will Estes Date: Thu, 12 Apr 2007 19:12:56 +0000 (+0000) Subject: fix skeleton for reentrant scanners, resolves bug #1694318 X-Git-Tag: flex-2-5-34~39 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=db157c872ba6a7ece827136f86f34e70dd6cfd11;p=flex fix skeleton for reentrant scanners, resolves bug #1694318 --- diff --git a/flex.skl b/flex.skl index fa637cb..368c5a6 100644 --- a/flex.skl +++ b/flex.skl @@ -1033,7 +1033,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 (void) fwrite( yytext, yyleng, 1, yyout ) +#define ECHO fwrite( yytext, yyleng, 1, yyout ) %endif %if-c++-only C++ definition #define ECHO LexerOutput( yytext, yyleng )