Changeset 246 in dev for trunk/abdev/BasicCompiler32/Compile_ProcOp.cpp
- Timestamp:
- Jul 28, 2007, 1:30:22 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abdev/BasicCompiler32/Compile_ProcOp.cpp
r241 r246 425 425 426 426 //Gotoラベルスケジュール 427 extern GOTOLABELSCHEDULE *pGotoLabelSchedule; 428 extern int GotoLabelScheduleNum; 429 pGotoLabelSchedule=(GOTOLABELSCHEDULE *)HeapAlloc(hHeap,0,1); 430 GotoLabelScheduleNum=0; 427 compiler.codeGenerator.gotoLabelSchedules.clear(); 431 428 432 429 //With情報のメモリを確保 … … 608 605 HeapDefaultFree(pLabelNames); 609 606 610 //Goto未知ラベルスケジュールを解放611 for(i3=0;i3<GotoLabelScheduleNum;i3++){612 if(pGotoLabelSchedule[i3].pName){613 SetError(6,pGotoLabelSchedule[i3].pName,pGotoLabelSchedule[i3].now_cp);614 HeapDefaultFree(pGotoLabelSchedule[i3].pName);615 }616 else{617 sprintf(temporary,"%d",pGotoLabelSchedule[i3].line);618 SetError(6,temporary,pGotoLabelSchedule[i3].now_cp);619 }620 }621 HeapDefaultFree(pGotoLabelSchedule);622 623 607 //With情報のメモリを解放 624 608 for(i3=0;i3<WithInfo.num;i3++){
Note:
See TracChangeset
for help on using the changeset viewer.