Changeset 283 in dev for trunk/abdev/BasicCompiler_Common


Ignore:
Timestamp:
Aug 15, 2007, 3:22:56 AM (17 years ago)
Author:
dai_9181
Message:
 
Location:
trunk/abdev/BasicCompiler_Common/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/abdev/BasicCompiler_Common/src/Meta.cpp

    r280 r283  
    8484    BOOST_FOREACH( Variable *pVar, meta.globalVars )
    8585    {
     86        // 基底スコープレベルのグローバル変数の生存値をオンにする
     87        if( pVar->GetScopeLevel() == 0 )
     88        {
     89            pVar->bLiving = TRUE;
     90        }
     91
    8692        pVar->isTargetObjectModule = false;
    8793        this->globalVars.Add( pVar );
  • trunk/abdev/BasicCompiler_Common/src/Source.cpp

    r281 r283  
    815815
    816816    // basic.sbpをインクルード
    817     //const char *headCode = "#include <basic.sbp>\n";
    818     const char *headCode = "\n";
     817    const char *headCode = "#include <basic.sbp>\n";
     818    //const char *headCode = "\n";
    819819    Realloc( length + lstrlen(headCode) );
    820820    Text::SlideString( buffer, lstrlen(headCode) );
Note: See TracChangeset for help on using the changeset viewer.