Ignore:
Timestamp:
Mar 27, 2008, 3:04:28 AM (16 years ago)
Author:
dai_9181
Message:

64bit版を最新の状態にした

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ab5.0/abdev/BasicCompiler64/Compile_CallProc.cpp

    r463 r468  
    143143                    }
    144144                    else{
    145                         SetError(300,NULL,cp);
     145                        compiler.errorMessenger.Output(300,NULL,cp);
    146146                    }
    147147                }
     
    171171            pMethod = pobj_c->GetStaticMethods().GetMethodPtr( pUserProc );
    172172            if( !pMethod ){
    173                 SetError(300,NULL,cp);
     173                compiler.errorMessenger.Output(300,NULL,cp);
    174174                return false;
    175175            }
     
    189189                //同一クラスオブジェクトの場合はプライベートアクセスを容認する
    190190                if( pMethod->IsNoneAccess() ){
    191                     SetError(109,pUserProc->GetName(),cp);
     191                    compiler.errorMessenger.Output(109,pUserProc->GetName(),cp);
    192192                    return false;
    193193                }
     
    196196                if( pMethod->IsPrivate()
    197197                    || pMethod->IsNoneAccess() ){
    198                     SetError(109,pUserProc->GetName(),cp);
     198                    compiler.errorMessenger.Output(109,pUserProc->GetName(),cp);
    199199                    return false;
    200200                }
    201201                if( !pMethod->GetUserProc().GetParentClass().IsEqualsOrSubClass( pobj_c ) && pMethod->IsProtected() ){
    202                     SetError(110,pUserProc->GetName(),cp);
     202                    compiler.errorMessenger.Output(110,pUserProc->GetName(),cp);
    203203                    return false;
    204204                }
     
    208208            //クラス内部からの呼び出し(継承によるACCESS_NONのみをエラーとする)
    209209            if( pMethod->IsNoneAccess() ){
    210                 SetError(109,pUserProc->GetName(),cp);
     210                compiler.errorMessenger.Output(109,pUserProc->GetName(),cp);
    211211                return false;
    212212            }
     
    329329                if( !resultType.IsObject() )
    330330                {
    331                     SetError();
     331                    compiler.errorMessenger.OutputFatalError();
    332332                }
    333333
     
    373373            if( vtblMasterListIndex != 0 )
    374374            {
    375                 SetError();
     375                compiler.errorMessenger.OutputFatalError();
    376376            }
    377377        }
Note: See TracChangeset for help on using the changeset viewer.