Changeset 112 in dev


Ignore:
Timestamp:
May 7, 2007, 3:34:07 AM (17 years ago)
Author:
dai_9181
Message:

#_fullcompileディレクティブを導入。
rev.234を刻印した。

Location:
BasicCompiler_Common
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • BasicCompiler_Common/Intermediate_Step1.cpp

    r107 r112  
    251251                }
    252252                SlideString(basbuf+i2,i-i2);
     253            }
     254            else if( lstrcmpi( temporary, "_fullcompile" ) == 0 ){
     255                // すべての関数・メソッドをコンパイルする(デバッグ用)
     256                for(;;i2++){
     257                    if(basbuf[i2]=='\n'||basbuf[i2]=='\0') break;
     258                }
     259                SlideString(basbuf+i2,i-i2);
     260
     261                Smoothie::isFullCompile = true;
    253262            }
    254263            else if(lstrcmpi(temporary,"resource")==0){
  • BasicCompiler_Common/Subroutine.cpp

    r108 r112  
    586586    GlobalProc *pUserProc = new GlobalProc( namespaceScopes, importedNamespaces, temporary, kind, isMacro, isCdecl, isExport );
    587587    pUserProc->SetParentClass( pobj_c );
     588    if( Smoothie::isFullCompile ){
     589        // すべての関数・メソッドをコンパイルする
     590        pUserProc->Using();
     591    }
    588592
    589593    //ID
  • BasicCompiler_Common/common.h

    r110 r112  
    4747
    4848#ifdef _AMD64_
    49 #define VER_INFO        "(x64) β rev.231"
     49#define VER_INFO        "(x64) β rev.234"
    5050#else
    51 #define VER_INFO        "β rev.231"
     51#define VER_INFO        "β rev.234"
    5252#endif
    5353
  • BasicCompiler_Common/include/Smoothie.h

    r107 r112  
    4141        static NamespaceScopesCollection importedNamespaces;
    4242    };
     43
     44    static bool isFullCompile;
    4345};
  • BasicCompiler_Common/src/Smoothie.cpp

    r107 r112  
    2323NamespaceScopesCollection Smoothie::Meta::namespaceScopesCollection;
    2424NamespaceScopesCollection Smoothie::Meta::importedNamespaces;
     25
     26bool Smoothie::isFullCompile = false;
Note: See TracChangeset for help on using the changeset viewer.