Changeset 736 in dev for trunk/ab5.0/abdev/ab_common/src/Lexical/NamespaceSupporter.cpp
- Timestamp:
- Aug 25, 2008, 5:38:29 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ab5.0/abdev/ab_common/src/Lexical/NamespaceSupporter.cpp
r670 r736 31 31 32 32 // 現在の名前空間とのマッチングを試みる 33 NamespaceScopes tempCurrent = this->livingNamespaceScopes; 34 while( !tempCurrent.empty() ) 33 typedef NamespaceScopes::const_iterator cnsit_t; 34 cnsit_t first = livingNamespaceScopes.begin(); 35 cnsit_t last = livingNamespaceScopes.end(); 36 NamespaceScopes temp; 37 while( first != last ) 35 38 { 36 if( base.IsEqual( tempCurrent + entry ) ) 39 temp.assign( first, last ); 40 temp.append( entry ); 41 if( base.IsEqual( temp ) ) 37 42 { 38 43 return true; 39 44 } 40 41 tempCurrent.pop_back(); 45 --last; 42 46 } 43 47
Note:
See TracChangeset
for help on using the changeset viewer.