X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bbe0af5b15f8b8e95ed45abc2140fb3a1fac3c87..9e9ee68e90212f1d9ba9f1cfa05e291463f6ae92:/src/common/lexer.l diff --git a/src/common/lexer.l b/src/common/lexer.l index bb25277e79..c8700e0c78 100644 --- a/src/common/lexer.l +++ b/src/common/lexer.l @@ -191,6 +191,8 @@ static int my_input( void ) void wxExprCleanUp() { +#ifdef FLEX_SCANNER if (yy_current_buffer) yy_delete_buffer(yy_current_buffer); +#endif }