diff --git a/src/twparser/yyparse.cpp b/src/twparser/yyparse.cpp index 2c9e610..b90765e 100644 --- a/src/twparser/yyparse.cpp +++ b/src/twparser/yyparse.cpp @@ -428,7 +428,7 @@ yy_parse::~yy_parse() #endif } -#ifdef YACC_WINDOWS +#if 0 //YACC_WINDOWS // The initial portion of the yacc parser. // In an windows environment, it will load the desired @@ -533,7 +533,7 @@ yy_parse::yyparse(yy_scan* ps) #endif /* YACC_WINDOWS */ { -#ifdef YACC_WINDOWS +#if 0 //YACC_WINDOWS short far *yyp; // needed as res tables locked in far memory short far *yyq; #else @@ -594,7 +594,7 @@ yyEncore: #endif } #endif -#ifdef YACC_WINDOWS +#if 0 //YACC_WINDOWS if (yystate >= Sizeof_yypact) /* simple state */ #else /* YACC_WINDOWS */ if (yystate >= (int)sizeof yypact/(int)sizeof yypact[0]) /* simple state */ @@ -640,7 +640,7 @@ yyEncore: * Fell through - take default action */ -#ifdef YACC_WINDOWS +#if 0 //YACC_WINDOWS if (yystate >= Sizeof_yydef) /* simple state */ #else /* YACC_WINDOWS */ if (yystate >= (int)sizeof yydef /(int)sizeof yydef[0]) @@ -1265,7 +1265,7 @@ yyError: , yytp-- #endif ) { -#ifdef YACC_WINDOWS +#if 0 //YACC_WINDOWS if (*yyps >= Sizeof_yypact) /* simple state */ #else /* YACC_WINDOWS */ if (*yyps >= (int)sizeof yypact/(int)sizeof yypact[0]) diff --git a/src/twparser/yyparse.h b/src/twparser/yyparse.h index 612b2a7..38e588a 100644 --- a/src/twparser/yyparse.h +++ b/src/twparser/yyparse.h @@ -133,7 +133,7 @@ typedef struct yyTypedRules_tag { /* Typed rule table */ } yyTypedRules; #endif -#ifdef YACC_WINDOWS +#if 0 // YACC_WINDOWS // include all windows prototypes, macros, constants, etc. @@ -155,7 +155,7 @@ extern HANDLE hInst; class yy_parse { protected: -#ifdef YACC_WINDOWS +#if 0 // YACC_WINDOWS // protected member function for actual scanning