Changeset 353 in dev for trunk/abdev/BasicCompiler64/Compile_ProcOp.cpp
- Timestamp:
- Oct 21, 2007, 3:37:31 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abdev/BasicCompiler64/Compile_ProcOp.cpp
r350 r353 138 138 if( userProc.GetName() == "InitializeUserTypes" 139 139 && userProc.HasParentClass() 140 && userProc.GetParentClass().GetName() == "_System_TypeBase" ){ 141 compiler.GetObjectModule().meta.GetClasses().Compile_System_InitializeUserTypes(); 140 && userProc.GetParentClass().GetName() == "_System_TypeBase" ) 141 { 142 compiler.GetObjectModule().meta.GetClasses().Compile_System_InitializeUserTypes(); 142 143 } 143 144 else if( userProc.GetName() == "RegisterGlobalRoots" 144 145 && userProc.HasParentClass() 145 && userProc.GetParentClass().GetName() == "_System_CGarbageCollection" ) {146 147 146 && userProc.GetParentClass().GetName() == "_System_CGarbageCollection" ) 147 { 148 Compile_AddGlobalRootsForGc(); 148 149 } 149 150 else if( userProc.GetName() == compiler.globalAreaProcName ){ … … 270 271 } 271 272 272 cp=pUserProc->GetCodePos(); 273 for(;;cp++){ 274 if(IsCommandDelimitation(basbuf[cp])) break; 275 } 276 cp--; 273 if( !pUserProc->IsAutoGeneration() ) 274 { 275 cp=pUserProc->GetCodePos(); 276 for(;;cp++){ 277 if(IsCommandDelimitation(basbuf[cp])) break; 278 } 279 cp--; 280 } 277 281 278 282 //プロシージャ抜け出しスケジュール(Exit Sub/Function)
Note:
See TracChangeset
for help on using the changeset viewer.