"L. Spiro Engine"
|
00001 00017 #ifndef __LSG_PREPROCLEXER_H__ 00018 #define __LSG_PREPROCLEXER_H__ 00019 00020 #include "../LSGGraphicsLib.h" 00021 00022 #ifdef yyFlexLexer 00023 #undef yyFlexLexer 00024 #endif 00025 #define yyFlexLexer CPreProcLexBase 00026 #include "../PreProcGen/LSGPreProcLexBase.h" 00027 00028 namespace lsg { 00029 00038 class CPreProcLexer : public CPreProcLexBase { 00039 public : 00040 // == Various constructors. 00041 LSE_CALLCTOR CPreProcLexer( std::istream * _pisStream, std::ostream * _posStream = NULL ); 00042 00043 00044 // == Functions. 00050 virtual LSUINT32 LSE_CALL NewLex(); 00051 00052 00053 protected : 00054 // == Members. 00055 00056 00057 private : 00058 typedef CPreProcLexBase Parent; 00059 }; 00060 00061 } // namespace lsg 00062 00063 #endif // __LSG_PREPROCLEXER_H__