Changeset 78 in dev for BasicCompiler_Common/Type.cpp
- Timestamp:
- Mar 25, 2007, 2:47:49 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BasicCompiler_Common/Type.cpp
r77 r78 65 65 //関数ポインタ(*Function) 66 66 type.basicType = DEF_PTR_PROC; 67 type.index = AddProcPtrInfo( typeName, cp ); 67 68 return true; 68 69 } 69 70 70 stringnextTypeName = typeName.substr( 1 );71 const string &nextTypeName = typeName.substr( 1 ); 71 72 72 73 if( !StringToType( nextTypeName, type ) ){ … … 88 89 // TypeDefされた型 89 90 //////////////////// 90 int i= pobj_DBTypeDef->check( typeName.c_str() );91 int i=House::typeDefs.GetIndex( typeName.c_str() ); 91 92 if(i!=-1){ 92 return StringToType( pobj_DBTypeDef->ppobj_TypeDef[i]->lpszBaseName, type ); 93 type = House::typeDefs[i].GetBaseType(); 94 return true; 93 95 } 94 96 … … 461 463 } 462 464 else{ 463 extern ProcPointer **ppProcPointer; 464 if( ppProcPointer[index]->ReturnType().IsNull() ){ 465 if( House::procPointers[index]->ReturnType().IsNull() ){ 465 466 return "*Sub"; 466 467 }
Note:
See TracChangeset
for help on using the changeset viewer.