Ignore:
Timestamp:
Feb 28, 2008, 9:45:31 PM (16 years ago)
Author:
dai_9181
Message:

プロパティ値として返ってきたオブジェクトインスタンスのインデクサを呼び出す処理をきちんと対応した。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/abdev/BasicCompiler_Common/VariableOpe.cpp

    r402 r403  
    290290
    291291
    292 BOOL GetVarFormatString(char *buffer,char *array,char *array2,char *NestMember,ReferenceKind &refType){
     292BOOL GetVarFormatString( char *buffer,char *array,char *array2,char *NestMember,ReferenceKind &refType, bool *pIsParameterInBracket ){
    293293    extern int cp;
    294294    int i,i2,i3;
     
    317317                cPare_Close=')';
    318318            }
     319
     320            if( pIsParameterInBracket )
     321            {
     322                // []なのか、()なのかを伝える
     323                if( cPare_Open == '[' )
     324                {
     325                    *pIsParameterInBracket = true;
     326                }
     327                else
     328                {
     329                    *pIsParameterInBracket = false;
     330                }
     331            }
     332
    319333            buffer[i]=0;
    320334            for(i++,i2=0;;i++,i2++){
Note: See TracChangeset for help on using the changeset viewer.