Changeset 107 in dev for BasicCompiler_Common/include
- Timestamp:
- May 6, 2007, 3:17:56 PM (18 years ago)
- Location:
- BasicCompiler_Common/include
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
BasicCompiler_Common/include/Namespace.h
r105 r107 70 70 } 71 71 72 bool IsUsing() const 73 { 74 // TODO: 実装 75 return false; 76 } 72 bool IsImported() const; 77 73 78 74 bool IsLiving() const; … … 98 94 if( baseNamespaceScopes.size() ){ 99 95 // 名前空間の判断が必要なとき 100 if( baseNamespaceScopes.Is Using()96 if( baseNamespaceScopes.IsImported() 101 97 || baseNamespaceScopes.IsLiving() ){ 102 98 // Using指定があるとき … … 134 130 void SplitNamespace( const char *fullName, char *namespaceStr, char *simpleName ) const; 135 131 132 void Imports( const string &namespaceStr ); 133 136 134 static bool CollectNamespaces( const char *source, NamespaceScopesCollection &namespaceScopesCollection ); 137 135 }; -
BasicCompiler_Common/include/Smoothie.h
r105 r107 19 19 #endif 20 20 } 21 static void Put( const string &text ){ 22 #ifdef _DEBUG 23 log += text + "\r\n"; 24 25 { 26 ofstream ofs( ( (string)BasicSystemDir + "Log\\compile.log" ).c_str(), ios_base::app ); 27 ofs << text << endl; 28 ofs.close(); 29 } 30 #endif 31 } 21 static void Put( const string &text ); 32 22 static void PutFile( const string &fileName, const string &buffer ){ 33 23 ofstream ofs( ( (string)BasicSystemDir + "Log\\" + fileName ).c_str() ); … … 49 39 static vector<ProcPointer *> procPointers; 50 40 static NamespaceScopesCollection namespaceScopesCollection; 41 static NamespaceScopesCollection importedNamespaces; 51 42 }; 52 43 };
Note:
See TracChangeset
for help on using the changeset viewer.