Changeset 90 in dev for BasicCompiler32/Compile_ProcOp.cpp
- Timestamp:
- Apr 7, 2007, 3:02:29 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BasicCompiler32/Compile_ProcOp.cpp
r89 r90 204 204 obp+=31; 205 205 } 206 else if( userProc.GetName() == "InitializeUserTypes" 206 else{ 207 SetError(); 208 } 209 } 210 void AutoGeneration(UserProc &userProc){ 211 if( userProc.GetName() == "InitializeUserTypes" 207 212 && userProc.HasParentClass() 208 213 && (string)userProc.GetParentClass().name == "_System_TypeBase" ){ … … 540 545 ////////////////////////////////////////// 541 546 ////// プロシージャ内をコンパイル //////// 542 if(pUserProc->IsMacro()) CompileBuffer(ESC_ENDMACRO,0); 547 if( pUserProc->IsAutoGeneration() ){ 548 AutoGeneration( *pUserProc ); 549 } 543 550 else{ 544 if(pUserProc->IsSub()) CompileBuffer(ESC_ENDSUB,0); 545 else if(pUserProc->IsFunction()) CompileBuffer(ESC_ENDFUNCTION,0); 551 if(pUserProc->IsMacro()){ 552 CompileBuffer(ESC_ENDMACRO,0); 553 } 554 else{ 555 if(pUserProc->IsSub()){ 556 CompileBuffer(ESC_ENDSUB,0); 557 } 558 else if(pUserProc->IsFunction()){ 559 CompileBuffer(ESC_ENDFUNCTION,0); 560 } 561 } 546 562 } 547 563 //////////////////////////////////////////
Note:
See TracChangeset
for help on using the changeset viewer.