Changeset 537 in dev for trunk/ab5.0/abdev/BasicCompiler_Common/src/LexicalScope.cpp
- Timestamp:
- May 3, 2008, 6:58:38 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ab5.0/abdev/BasicCompiler_Common/src/LexicalScope.cpp
r485 r537 71 71 CallDestructorsOfScopeEnd(); 72 72 73 Variables *pVars = UserProc::IsGlobalAreaCompiling() ?73 Variables *pVars = compiler.IsGlobalAreaCompiling() ? 74 74 &compiler.GetObjectModule().meta.GetGlobalVars() : 75 & UserProc::CompilingUserProc().GetLocalVars();75 &compiler.GetCompilingUserProc().GetLocalVars(); 76 76 77 77 //使用済みローカル変数の生存チェックを外す … … 98 98 void LexicalScopes::CallDestructorsOfScopeEnd(){ 99 99 100 Variables *pVariabls = UserProc::IsGlobalAreaCompiling() ?100 Variables *pVariabls = compiler.IsGlobalAreaCompiling() ? 101 101 &compiler.GetObjectModule().meta.GetGlobalVars() : 102 & UserProc::CompilingUserProc().GetLocalVars();102 &compiler.GetCompilingUserProc().GetLocalVars(); 103 103 104 104 … … 109 109 Variable *pVar = (*pVariabls)[i3]; 110 110 111 if( UserProc::IsGlobalAreaCompiling() && GetNowLevel() == 0 ){111 if( compiler.IsGlobalAreaCompiling() && GetNowLevel() == 0 ){ 112 112 if( pVar->GetName() == "_System_GC" ){ 113 113 indexSystemGC=i3; … … 152 152 153 153 154 if( UserProc::IsGlobalAreaCompiling() ){154 if( compiler.IsGlobalAreaCompiling() ){ 155 155 //ここには来ないハズ 156 156 compiler.errorMessenger.Output(300,NULL,cp);
Note:
See TracChangeset
for help on using the changeset viewer.