aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
Diffstat (limited to 'main')
-rw-r--r--main/ast_expr2f.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/ast_expr2f.c b/main/ast_expr2f.c
index 98db719ae..b05f97e7e 100644
--- a/main/ast_expr2f.c
+++ b/main/ast_expr2f.c
@@ -743,7 +743,7 @@ static int input (yyscan_t yyscanner );
/* 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 do { if (fwrite( yytext, yyleng, 1, yyout )) {} } while (0)
#endif
/* Gets input and stuffs it into "buf". number of characters read, or YY_NULL,