Changeset 538 in dev for trunk/ab5.0/abdev/BasicCompiler_Common
- Timestamp:
- May 3, 2008, 11:50:25 PM (17 years ago)
- Location:
- trunk/ab5.0/abdev/BasicCompiler_Common
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ab5.0/abdev/BasicCompiler_Common/include/Class.h
r523 r538 476 476 public: 477 477 Classes() 478 : pCompilingMethod( NULL ) 479 , pStringClass( NULL ) 478 : pStringClass( NULL ) 480 479 , pObjectClass( NULL ) 481 480 , pInterfaceInfo( NULL ) … … 504 503 const CClass *Find( const std::string &fullName ) const; 505 504 506 507 /////////////////////////////508 // 現在コンパイル中の情報509 /////////////////////////////510 private:511 const CMethod *pCompilingMethod;512 public:513 505 void StartCompile( const UserProc *pUserProc ); 514 515 //現在コンパイル中のメソッド情報を取得516 const CMethod *GetNowCompilingMethodInfo(){517 return pCompilingMethod;518 }519 506 520 507 -
trunk/ab5.0/abdev/BasicCompiler_Common/src/Class.cpp
r536 r538 1166 1166 } 1167 1167 } 1168 1169 pCompilingMethod = pParentClass->GetDynamicMethodOrInterfaceMethod( pUserProc );1170 if( !pCompilingMethod ){1171 pCompilingMethod = pParentClass->GetStaticMethods().GetMethodPtr( pUserProc );1172 if( !pCompilingMethod ){1173 compiler.errorMessenger.OutputFatalError();1174 }1175 }1176 }1177 else{1178 pCompilingMethod = NULL;1179 1168 } 1180 1169 }
Note:
See TracChangeset
for help on using the changeset viewer.