Changeset 195 in dev for trunk/abdev/BasicCompiler_Common/src/TypeDef.cpp
- Timestamp:
- Jun 26, 2007, 1:48:18 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abdev/BasicCompiler_Common/src/TypeDef.cpp
r193 r195 5 5 #include <TypeDef.h> 6 6 #include <Compiler.h> 7 #include <NamespaceSupporter.h> 7 8 8 9 TypeDef::TypeDef( const NamespaceScopes &namespaceScopes, const string &name, const string &baseName, int nowLine ) … … 24 25 return false; 25 26 } 26 return compiler.IsSameAreaNamespace( this->namespaceScopes, namespaceScopes );27 return namespaceSupporter.IsSameAreaNamespace( this->namespaceScopes, namespaceScopes ); 27 28 } 28 29 bool TypeDef::IsEqualSymbol( const string &fullName ) const … … 147 148 148 149 // 名前空間管理 149 NamespaceScopes &namespaceScopes = Smoothie::Temp::liveingNamespaceScopes;150 NamespaceScopes &namespaceScopes = namespaceSupporter.GetLivingNamespaceScopes(); 150 151 namespaceScopes.clear(); 151 152 152 153 // Importsされた名前空間の管理 153 NamespaceScopesCollection &importedNamespaces = compiler.GetImportedNamespaces();154 NamespaceScopesCollection &importedNamespaces = namespaceSupporter.GetImportedNamespaces(); 154 155 importedNamespaces.clear(); 155 156 … … 192 193 temporary[i2]=basbuf[i]; 193 194 } 194 if( ! compiler.ImportsNamespace( temporary ) )195 if( !namespaceSupporter.ImportsNamespace( temporary ) ) 195 196 { 196 197 SmoothieException::Throw(64,temporary,i );
Note:
See TracChangeset
for help on using the changeset viewer.