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_Calc.cpp

    r463 r468  
    2727    }
    2828    else{
    29         SetError(300,NULL,cp);
     29        compiler.errorMessenger.Output(300,NULL,cp);
    3030    }
    3131}
     
    4343            //ダブルクォートは不正なのでエラー扱い
    4444            variable[i]=0;
    45             SetError(3,variable,cp);
     45            compiler.errorMessenger.Output(3,variable,cp);
    4646            return;
    4747        }
     
    9090            if(GetVarType(variable,Type(),0)){
    9191                //変数リストに該当したとき
    92                 SetError(1,NULL,cp);
     92                compiler.errorMessenger.Output(1,NULL,cp);
    9393            }
    9494            else{
     
    9797                {
    9898                    //定数リストに該当したとき
    99                     SetError(1,NULL,cp);
     99                    compiler.errorMessenger.Output(1,NULL,cp);
    100100                }
    101101                else{
    102102                    //変数リスト、定数リストに該当しないとき
    103                     SetError(3,variable,cp);
     103                    compiler.errorMessenger.Output(3,variable,cp);
    104104                }
    105105            }
     
    123123
    124124    if(Command[i+1]=='\0'){
    125         SetError(1,NULL,cp);
     125        compiler.errorMessenger.Output(1,NULL,cp);
    126126        return;
    127127    }
     
    164164
    165165    if( lstrcmpi( variable, "This" ) == 0 ){
    166         SetError(133,NULL,cp);
     166        compiler.errorMessenger.Output(133,NULL,cp);
    167167        return;
    168168    }
     
    197197    if(reg!=REG_RAX&&calcType.IsWhole()||
    198198        varType.IsNull()||calcType.IsNull()){
    199         SetError(300,NULL,cp);
     199        compiler.errorMessenger.Output(300,NULL,cp);
    200200    }
    201201
     
    207207    if( !TermOpeOnlyVariable( variable, varType, VarRelativeVar, true ) )
    208208    {
    209         SetError();
     209        compiler.errorMessenger.OutputFatalError();
    210210        return;
    211211    }
     
    215215
    216216    if(varType.GetBasicType()&FLAG_PTR){
    217         SetError(14,variable,cp);
     217        compiler.errorMessenger.Output(14,variable,cp);
    218218        return;
    219219    }
     
    243243        compiler.GetObjectModule().meta.GetBlittableTypes().GetClass( calcType ).GetStaticMethods().Enum( "_Create", userProcs );
    244244        if( userProcs.size() != 1 ){
    245             SetError();
     245            compiler.errorMessenger.OutputFatalError();
    246246            return;
    247247        }
Note: See TracChangeset for help on using the changeset viewer.