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/src/Parameter.cpp

    r448 r465  
    145145            if( isRef == false )
    146146            {
    147                 SetError(29,NULL,nowLine);
     147                compiler.errorMessenger.Output(29,NULL,nowLine);
    148148            }
    149149            isArray = true;
     
    206206
    207207            if( type.IsNull() ){
    208                 SetError(3,temporary,nowLine);
     208                compiler.errorMessenger.Output(3,temporary,nowLine);
    209209                type.SetBasicType( DEF_PTR_VOID );
    210210            }
     
    219219        else{
    220220            type.SetBasicType( Type::GetBasicTypeFromSimpleName(temporary) );
    221             SetError(-103,temporary,nowLine);
     221            compiler.errorMessenger.Output(-103,temporary,nowLine);
    222222        }
    223223
     
    240240        }
    241241        else{
    242             SetError(1,NULL,nowLine);
     242            compiler.errorMessenger.Output(1,NULL,nowLine);
    243243            break;
    244244        }
Note: See TracChangeset for help on using the changeset viewer.