Changeset 632 in dev for trunk/ab5.0/abdev/ab_common/src/Lexical/Meta.cpp
- Timestamp:
- Jun 5, 2008, 10:04:39 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ab5.0/abdev/ab_common/src/Lexical/Meta.cpp
r603 r632 186 186 187 187 // TypeDefも見る 188 int index = this->GetTypeDefs().GetIndex( symbol ); 189 if( index != -1 ){ 190 Type type = this->GetTypeDefs()[index].GetBaseType(); 191 if( type.IsObject() ){ 188 const TypeDef *pTypeDef = this->GetTypeDefs().Find( symbol ); 189 if( pTypeDef ) 190 { 191 Type type = pTypeDef->GetBaseType(); 192 if( type.IsObject() ) 193 { 192 194 return &type.GetClass(); 193 195 }
Note:
See TracChangeset
for help on using the changeset viewer.