Ignore:
Timestamp:
Jul 28, 2007, 1:30:22 PM (17 years ago)
Author:
dai_9181
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/abdev/BasicCompiler32/Compile_ProcOp.cpp

    r241 r246  
    425425
    426426    //Gotoラベルスケジュール
    427     extern GOTOLABELSCHEDULE *pGotoLabelSchedule;
    428     extern int GotoLabelScheduleNum;
    429     pGotoLabelSchedule=(GOTOLABELSCHEDULE *)HeapAlloc(hHeap,0,1);
    430     GotoLabelScheduleNum=0;
     427    compiler.codeGenerator.gotoLabelSchedules.clear();
    431428
    432429    //With情報のメモリを確保
     
    608605    HeapDefaultFree(pLabelNames);
    609606
    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 
    623607    //With情報のメモリを解放
    624608    for(i3=0;i3<WithInfo.num;i3++){
Note: See TracChangeset for help on using the changeset viewer.