Changeset 598 in dev for trunk/ab5.0/abdev/BasicCompiler_Common/src/Compiler.cpp
- Timestamp:
- May 10, 2008, 8:16:16 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ab5.0/abdev/BasicCompiler_Common/src/Compiler.cpp
r575 r598 3 3 #include <Compiler.h> 4 4 #include <Type.h> 5 6 using namespace ActiveBasic::Compiler; 5 7 6 8 Compiler compiler; … … 30 32 31 33 // ジェネリクスクラスを取得 32 const CClass *pGenericClass = this->GetObjectModule().meta.FindClassSupportedTypeDef( className ); 34 const CClass *pGenericClass = this->GetObjectModule().meta.FindClassSupportedTypeDef( 35 LexicalAnalyzer::FullNameToSymbol( className ) 36 ); 33 37 34 38 if( !pGenericClass ) … … 140 144 // TypeDefされた型 141 145 //////////////////// 142 int i=this->GetObjectModule().meta.GetTypeDefs().GetIndex( typeName);146 int i=this->GetObjectModule().meta.GetTypeDefs().GetIndex( LexicalAnalyzer::FullNameToSymbol( typeName ) ); 143 147 if(i!=-1){ 144 148 type = this->GetObjectModule().meta.GetTypeDefs()[i].GetBaseType(); … … 147 151 148 152 //クラス 149 const CClass *pobj_c = this->GetObjectModule().meta.GetClasses().FindEx( typeName);153 const CClass *pobj_c = this->GetObjectModule().meta.GetClasses().FindEx( LexicalAnalyzer::FullNameToSymbol( typeName ) ); 150 154 if(pobj_c){ 151 155 if( pobj_c->IsStructure() ){
Note:
See TracChangeset
for help on using the changeset viewer.