@@ -87,7 +87,7 @@ BYTE OpBmp(PGLOBAL g, OPVAL opc)
8787 case OP_EXIST: bt = 0x00 ; break ;
8888 default :
8989 sprintf (g->Message , MSG (BAD_FILTER_OP), opc);
90- throw TYPE_ARRAY ;
90+ throw ( int )TYPE_FILTER ;
9191} // endswitch opc
9292
9393 return bt;
@@ -1437,7 +1437,7 @@ void FILTER::Printf(PGLOBAL g, FILE *f, uint n)
14371437
14381438 } // endfor fp
14391439
1440- } // end of Print
1440+ } // end of Printf
14411441
14421442/* **********************************************************************/
14431443/* Make string output of TABLE contents (z should be checked). */
@@ -1579,7 +1579,7 @@ void FILTER::Prints(PGLOBAL g, char *ps, uint z)
15791579 bcp = bxp;
15801580 } while (bcp); // enddo
15811581
1582- } // end of Print
1582+ } // end of Prints
15831583
15841584
15851585/* -------------------- Derived Classes Functions -------------------- */
@@ -1697,8 +1697,6 @@ PFIL PrepareFilter(PGLOBAL g, PFIL fp, bool having)
16971697
16981698 if (trace)
16991699 htrc("PrepareFilter: fp=%p having=%d\n", fp, having);
1700- //if (fp)
1701- // fp->Print(g, debug, 0);
17021700
17031701 while (fp) {
17041702 if (fp->Opc == OP_SEP)
@@ -1712,7 +1710,7 @@ PFIL PrepareFilter(PGLOBAL g, PFIL fp, bool having)
17121710 break; // Remove eventual ending separator(s)
17131711
17141712// if (fp->Convert(g, having))
1715- // throw TYPE_ARRAY ;
1713+ // throw (int)TYPE_FILTER ;
17161714
17171715 filp = fp;
17181716 fp = fp->Next;
@@ -1721,8 +1719,6 @@ PFIL PrepareFilter(PGLOBAL g, PFIL fp, bool having)
17211719
17221720 if (trace)
17231721 htrc(" returning filp=%p\n", filp);
1724- //if (filp)
1725- // filp->Print(g, debug, 0);
17261722
17271723 return filp;
17281724 } // end of PrepareFilter
@@ -1745,7 +1741,7 @@ DllExport bool ApplyFilter(PGLOBAL g, PFIL filp)
17451741// return TRUE;
17461742
17471743 if (filp->Eval (g))
1748- throw TYPE_FILTER;
1744+ throw ( int ) TYPE_FILTER;
17491745
17501746 if (trace > 1 )
17511747 htrc (" PlugFilter filp=%p result=%d\n " ,
0 commit comments