Ignore:
Timestamp:
Jan 7, 2007, 6:51:20 AM (17 years ago)
Author:
dai_9181
Message:

静的メンバ、静的メソッド周りを修正。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BasicCompiler32/Compile_CallProc.cpp

    r26 r27  
    240240        if(ObjectName[0]){
    241241            if(lstrcmpi(ObjectName,"Super")==0){
    242                 //クラスメンバ関数内からスーパークラスの呼び出し
     242                //クラスメンバ関数内から基底クラスの呼び出し
    243243                pobj_c=pobj_CompilingClass;
    244244            }
     
    270270        // メソッド情報を取得
    271271        /////////////////////////////////
    272         pMethod = pobj_c->GetMethodInfo( psi );
    273         if( !pMethod ){
     272        pMethod = NULL;
     273        if( ! bStatic ) pMethod = pobj_c->GetMethodInfo( psi );
     274        if( ! pMethod ){
    274275            //動的メソッドが取得できなかったときは静的メソッドを当たる
    275276            pMethod = pobj_c->GetStaticMethodInfo( psi );
Note: See TracChangeset for help on using the changeset viewer.