Changeset 38 in dev for BasicCompiler32


Ignore:
Timestamp:
Jan 22, 2007, 11:38:19 PM (18 years ago)
Author:
dai_9181
Message:

戻り値に基本型を持つインデクサ(Getter)が正常に呼び出せないバグを修正。

Location:
BasicCompiler32
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • BasicCompiler32/NumOpe.cpp

    r36 r38  
    361361                        if(i2==DEF_OBJECT){
    362362                            TYPEINFO RetTypeInfo;
    363                             CallArrayOperatorProc(pobj_c,variable,array_element,RetTypeInfo);
     363                            CallIndexerGetterProc(pobj_c,variable,array_element,RetTypeInfo);
    364364                            type[sp]=RetTypeInfo.type;
    365365                            index_stack[sp]=RetTypeInfo.u.lpIndex;
  • BasicCompiler32/Opcode.h

    r36 r38  
    241241int CallOperatorProc(int idCalc,TYPEINFO *pBaseTypeInfo,int *type,LONG_PTR *index_stack,BOOL *bUseHeap,int &sp);
    242242void CallCastOperatorProc(int &CalcType,LONG_PTR &lpCalcIndex,BOOL bCalcUseHeap,int ToType,LONG_PTR lpToIndex);
    243 void CallArrayOperatorProc(CClass *pobj_Class,char *ObjectName,char *Parameter,TYPEINFO &RetTypeInfo);
     243void CallIndexerGetterProc(CClass *pobj_Class,char *ObjectName,char *Parameter,TYPEINFO &RetTypeInfo);
    244244
    245245//Compile_Statement.cpp
  • BasicCompiler32/OperatorProc.cpp

    r31 r38  
    262262    SetError(-1,"キャスト演算子がオーバーロードされていません。",cp);
    263263}
    264 void CallArrayOperatorProc(CClass *pobj_Class,char *ObjectName,char *Parameter,TYPEINFO &RetTypeInfo){
     264void CallIndexerGetterProc(CClass *pobj_Class,char *ObjectName,char *Parameter,TYPEINFO &RetTypeInfo){
    265265    SUBINFO **ppsi;
    266266    int num;
Note: See TracChangeset for help on using the changeset viewer.