Changeset 79 in dev for BasicCompiler64/Compile_Var.cpp


Ignore:
Timestamp:
Mar 25, 2007, 5:58:57 AM (17 years ago)
Author:
dai_9181
Message:

バージョンをβ17にした。
#strictをデフォルトの状態で適用するようにした(#90)。
Dimステートメントにおいて、初期値式とAsが同時に指定されていたとき、As以降も初期値式の一部として捉えるよう、変更(#91)。
GetTypeDef関数を完全廃止。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BasicCompiler64/Compile_Var.cpp

    r76 r79  
    10741074}
    10751075
    1076 void dim(bool isRef, char *VarName,int *SubScripts,Type &type,char *InitBuf,char *ConstractParameter,DWORD dwFlags){
     1076void dim( char *VarName,int *SubScripts,Type &type,char *InitBuf,char *ConstractParameter,DWORD dwFlags){
    10771077    if( UserProc::IsGlobalAreaCompiling() ){
    10781078        /////////////////////////
     
    10801080        /////////////////////////
    10811081
    1082         AddGlobalVariable(isRef,VarName,SubScripts,type,InitBuf,ConstractParameter,dwFlags);
     1082        AddGlobalVariable(VarName,SubScripts,type,InitBuf,ConstractParameter,dwFlags);
    10831083    }
    10841084    else{
     
    10951095        bool isConst = ( dwFlags & DIMFLAG_CONST ) ? true:false;
    10961096
    1097         Variable *pVar = new Variable( VarName, type, isConst, isRef );
     1097        Variable *pVar = new Variable( VarName, type, isConst );
    10981098
    10991099        if( SubScripts[0] != -1 ){
Note: See TracChangeset for help on using the changeset viewer.