Ignore:
Timestamp:
Mar 8, 2008, 10:38:39 PM (16 years ago)
Author:
dai_9181
Message:

デリゲートのパラメータや戻り値にクラス型を指定できない不具合を修正。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/abdev/BasicCompiler_Common/src/Parameter.cpp

    r383 r422  
    8585    //パラメータ
    8686    int i = 0;
    87     if(sourceOfParams[i]!='('){
    88         SetError(1,NULL,nowLine);
    89         return 0;
    90     }
    91     i++;
    9287    while(1){
    93         if(sourceOfParams[i]==')') break;
     88        if( sourceOfParams[i] == '\0' )
     89        {
     90            break;
     91        }
    9492
    9593        //ByRef
     
    222220        this->push_back( pParam );
    223221
    224         if(sourceOfParams[i]==','){
     222        if( sourceOfParams[i] == ',' )
     223        {
    225224            i++;
    226225            continue;
    227226        }
    228         else if(sourceOfParams[i]==')') continue;
     227        else if( sourceOfParams[i] == '\0' )
     228        {
     229            break;
     230        }
    229231        else{
    230232            SetError(1,NULL,nowLine);
Note: See TracChangeset for help on using the changeset viewer.