Changeset 632 in dev for trunk/ab5.0/abdev/BasicCompiler_Common/VariableOpe.cpp
- Timestamp:
- Jun 5, 2008, 10:04:39 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ab5.0/abdev/BasicCompiler_Common/VariableOpe.cpp
r628 r632 633 633 } 634 634 635 int typeDefIndex = compiler.GetObjectModule().meta.GetTypeDefs().GetIndex( LexicalAnalyzer::FullNameToSymbol( VarName ) ); 636 if( typeDefIndex != -1 ){ 635 const TypeDef *pTypeDef = compiler.GetObjectModule().meta.GetTypeDefs().Find( LexicalAnalyzer::FullNameToSymbol( VarName ) ); 636 if( pTypeDef ) 637 { 637 638 // TypeDef後の型名だったとき 638 lstrcpy( VarName, compiler.GetObjectModule().meta.GetTypeDefs()[typeDefIndex].GetBaseName().c_str() );639 lstrcpy( VarName, pTypeDef->GetBaseName().c_str() ); 639 640 } 640 641
Note:
See TracChangeset
for help on using the changeset viewer.