Ignore:
Timestamp:
Mar 24, 2008, 8:05:20 PM (16 years ago)
Author:
dai_9181
Message:

Messenger/ErrorMessengerクラスを導入。SetError関数によるエラー生成を廃止した。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ab5.0/abdev/BasicCompiler_Common/Object.cpp

    r331 r465  
    2525    const UserProc *pUserProc = GetMethodHash(ObjectName,type.GetClass().GetName().c_str(),Parameter);
    2626    if(!pUserProc){
    27         if(Parameter[0]) SetError(113,type.GetClass().GetName().c_str(),cp);
     27        if(Parameter[0]) compiler.errorMessenger.Output(113,type.GetClass().GetName().c_str(),cp);
    2828        return;
    2929    }
     
    102102            i+=i2;
    103103            if(expression[i]!='\0'){
    104                 SetError(42,NULL,cp);
     104                compiler.errorMessenger.Output(42,NULL,cp);
    105105                return false;
    106106            }
     
    115115
    116116    if( !compiler.StringToType( typeName, resultType ) ){
    117         SetError(3,typeName,cp);
     117        compiler.errorMessenger.Output(3,typeName,cp);
    118118        return false;
    119119    }
     
    124124        ////////////////////////
    125125
    126         SetError(121,NULL,cp);
     126        compiler.errorMessenger.Output(121,NULL,cp);
    127127        return false;
    128128    }
Note: See TracChangeset for help on using the changeset viewer.