Changeset 167 in dev for trunk/abdev/BasicCompiler_Common/include/Smoothie.h
- Timestamp:
- Jun 17, 2007, 9:56:19 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abdev/BasicCompiler_Common/include/Smoothie.h
r159 r167 7 7 public: 8 8 9 class Logger{10 static string log;11 public:12 static void Initialize(){13 #ifdef _DEBUG14 log = "";15 16 ofstream ofs( ( (string)BasicSystemDir + "Log\\compile.log" ).c_str(), ios_base::trunc );17 ofs.close();18 #endif19 }20 static void Put( const string &text );21 static void PutFile( const string &fileName, const string &buffer ){22 ofstream ofs( ( (string)BasicSystemDir + "Log\\" + fileName ).c_str() );23 ofs << buffer << endl;24 ofs.close();25 }26 };27 28 9 class Lexical{ 29 10 public: 11 static string baseProjectDirPath; 30 12 static BasicSource source; 31 13 static NamespaceScopes liveingNamespaceScopes;
Note:
See TracChangeset
for help on using the changeset viewer.