Changeset 20 in dev for BasicCompiler64/Compile_Var.cpp


Ignore:
Timestamp:
Dec 28, 2006, 5:24:48 AM (17 years ago)
Author:
dai_9181
Message:

参照型パラメータに関数の戻り値オブジェクトを指定した場合などの、一時オブジェクトの扱いを可能にした。
Dimで指定される初期値を見分けることで、As指定を省略できるようにした。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BasicCompiler64/Compile_Var.cpp

    r19 r20  
    781781    }
    782782
     783
     784    ///////////////////////////////////////
     785    // 単発式([]で囲まれていない)
     786    ///////////////////////////////////////
     787
     788    if( type == DEF_OBJECT){
     789        //オブジェクトの場合はありえない
     790        SetError(300,NULL,cp);
     791        return 0;
     792    }
     793
    783794    if(SubScripts[0]!=-1){
    784795        SetError(41,0,cp);
Note: See TracChangeset for help on using the changeset viewer.