www.pudn.com > 12cocorc.zip > SCAN_H.FRM


//**************************************************************** 
//   CPLUS2\SCAN_H.FRM 
//   Coco/R C++ Support Frames. 
//   Author: Frankie Arzu  
// 
//   Jun 12, 1996  Version 1.06 
//      Many fixes and suggestions thanks to 
//      Pat Terry  
//**************************************************************** 
 
#ifndef -->ScanClass_INCLUDE 
#define -->ScanClass_INCLUDE 
 
#include "cr_scan.hpp" 
 
#if __MSDOS__ || MSDOS 
#       define SCANNER  CRDosScanner 
#else 
#       define SCANNER  CRScanner 
#endif 
 
class -->ScanClass : public SCANNER 
{ 
  public: 
    -->ScanClass(int SrcFile, int ignoreCase) : SCANNER(SrcFile, ignoreCase) {}; 
  protected: 
    static int STATE0[]; 
    int CheckLiteral(int id); 
    int Comment(); 
    int Get(); 
}; 
 
#endif /* -->ScanClass_INCLUDE */