X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cfe780fb99dc42d454625b1ea88ae687c54acbf1..9e9ee68e90212f1d9ba9f1cfa05e291463f6ae92:/src/common/lexer.l?ds=sidebyside diff --git a/src/common/lexer.l b/src/common/lexer.l index 02e95f54a9..c8700e0c78 100644 --- a/src/common/lexer.l +++ b/src/common/lexer.l @@ -12,6 +12,7 @@ WORDCHAR [^'\\] * either lex and flex. */ #include +#include /* +++steve162e: added, otherwise, PROIO_input will be undefined (at least under LINUX) please check, if this is also TRUE under other UNIXes. @@ -190,6 +191,8 @@ static int my_input( void ) void wxExprCleanUp() { +#ifdef FLEX_SCANNER if (yy_current_buffer) yy_delete_buffer(yy_current_buffer); +#endif }