X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bbe0af5b15f8b8e95ed45abc2140fb3a1fac3c87..f861258fcace51a1aaba2f31c7498b3ba9e31371:/src/common/lexer.l?ds=sidebyside 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 }