--- sqp/lex.l +++ sqp/lex.l @@ -237,7 +237,7 @@ { sprintf( g_szError, "%s processing '%s' on line %d", s, yytext, g_nLineNo ); - YY_FLUSH_BUFFER; + yy_flush_buffer( YY_CURRENT_BUFFER ); } /**********************************************************************