//**************************************************************** // 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 // Oct 31, 1999 Version 1.14 // LeftContext Support // Mar 24, 2000 Version 1.15 // LeftContext Support no longer needed //**************************************************************** #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 LeftContext(char *s); int Comment(); int Get(); }; #endif /* -->ScanClass_INCLUDE */