X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4a3bdee6a979146c426cd058e9bfe6b58135b124..5c9ee6dd498c4b7881cb1ed4164aecceebd52257:/contrib/src/deprecated/dosyacc.c?ds=inline diff --git a/contrib/src/deprecated/dosyacc.c b/contrib/src/deprecated/dosyacc.c index aa79d52bd8..f4545a071b 100644 --- a/contrib/src/deprecated/dosyacc.c +++ b/contrib/src/deprecated/dosyacc.c @@ -1,10 +1,7 @@ /* include platform.h first to get __WIN32__ definition */ #include "wx/platform.h" -#if defined(__WIN32__) || defined(__GNUWIN32__) -/* all Win32 compilers can handle C++ comments, and C++ comments - is the only C++ in setup.h */ #include "wx/setup.h" -#endif +#include "wx/deprecated/setup.h" #if !defined(wxUSE_PROLOGIO) || wxUSE_PROLOGIO @@ -218,11 +215,7 @@ YYSTYPE yyvs[YYSTACKSIZE]; #define yystacksize YYSTACKSIZE #line 118 "parser.y" -#ifdef IDE_INVOKED -#include "../common/doslex.c" -#else -#include "../common/lex_yy.c" -#endif +#include "doslex.c" /* void yyerror(s) @@ -251,6 +244,7 @@ void yyerror(char *s) * to test */ +#if 0 /* VS: doesn't work... */ #ifndef __SC__ #ifdef USE_DEFINE #ifndef yywrap @@ -263,6 +257,8 @@ void yyerror(char *s) # endif #endif #endif +#endif + #line 247 "y_tab.c" #define YYABORT goto yyabort #define YYACCEPT goto yyaccept