Changeset 57 in dev


Ignore:
Timestamp:
Feb 16, 2007, 2:15:46 AM (17 years ago)
Author:
dai_9181
Message:

バージョンをβ12に上げた。
Dimに初期値をしたとき、コピーコンストラクタが正常に呼び出せないバグを修正。

Files:
5 edited

Legend:

Unmodified
Added
Removed
  • BasicCompiler_Common/Class.cpp

    r56 r57  
    727727        //コピーコンストラクタ
    728728        if(psi->ParmNum==1){
    729             if(psi->pParmInfo[1].type==DEF_OBJECT&&
    730                 psi->pParmInfo[1].u.pobj_c==pobj_c) fConstructor=2;
     729            if(psi->pParmInfo[0].type==DEF_OBJECT&&
     730                psi->pParmInfo[0].u.pobj_c==pobj_c) fConstructor=2;
    731731        }
    732732
  • BasicCompiler_Common/Variable.cpp

    r55 r57  
    10961096
    10971097    if( pTypeInfo->type == DEF_OBJECT && InitBuf[0] != '\0' && InitBuf[0] != '[' && isRef == false ){
    1098         lstrcpy( ConstractParameter, InitBuf );
    1099         InitBuf[0] = 0;
     1098        if( pTypeInfo->u.pobj_Class->GetCopyConstructorMethod() ){
     1099            //オブジェクトでコピーコンストラクタが存在するとき
     1100            lstrcpy( ConstractParameter, InitBuf );
     1101            InitBuf[0] = 0;
     1102        }
    11001103    }
    11011104
  • BasicCompiler_Common/common.h

    r56 r57  
    4343
    4444#ifdef _AMD64_
    45 #define VER_INFO        "β11 (x64)"
     45#define VER_INFO        "β12 (x64)"
    4646#else
    47 #define VER_INFO        "β11"
     47#define VER_INFO        "β12"
    4848#endif
    4949
  • ProjectEditor/Common.h

    r55 r57  
    6262#define APPLICATION_NAME "ActiveBasic 5.0"
    6363#define VERSION_APPLI_NAME APPLICATION_NAME
    64 #define VERSION_STRING "5.00.00 β11"
     64#define VERSION_STRING "5.00.00 β12"
    6565
    6666#endif
  • ProjectEditor/SubOperation.cpp

    r41 r57  
    525525    }
    526526    else if(str[0]=='s'||str[0]=='S'){
     527        if(lstrcmpi(str,"SByte")==0) return -1;
    527528        if(lstrcmpi(str,"Select")==0) return COM_SELECT;
    528529        if(lstrcmpi(str,"SelectCase")==0) return COM_SELECT;
Note: See TracChangeset for help on using the changeset viewer.