Changeset 169 in dev for trunk/abdev/BasicCompiler_Common/src/Namespace.cpp
- Timestamp:
- Jun 18, 2007, 3:49:30 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abdev/BasicCompiler_Common/src/Namespace.cpp
r159 r169 101 101 lstrcpy( simpleName, fullName + lstrlen( namespaceStr ) + dotLength ); 102 102 } 103 voidNamespaceScopesCollection::Imports( const string &namespaceStr ){103 bool NamespaceScopesCollection::Imports( const string &namespaceStr ){ 104 104 NamespaceScopes namespaceScopes( namespaceStr ); 105 105 if( !Smoothie::meta.namespaceScopesCollection.IsExist( namespaceScopes ) ){ 106 SetError(64,namespaceStr.c_str(),cp ); 107 return; 106 return false; 108 107 } 109 108 110 109 this->push_back( namespaceScopes ); 110 111 return true; 111 112 } 112 113 bool NamespaceScopesCollection::CollectNamespaces( const char *source, NamespaceScopesCollection &namespaceScopesCollection )
Note:
See TracChangeset
for help on using the changeset viewer.