Changeset 253 in dev for trunk/abdev/BasicCompiler32/MakePeHdr.cpp
- Timestamp:
- Jul 30, 2007, 4:12:54 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abdev/BasicCompiler32/MakePeHdr.cpp
r248 r253 382 382 pobj_Reloc=new CReloc(); 383 383 384 extern char *OpBuffer; 385 extern int obp; 384 386 obp_AllocSize=8192*2; 385 387 OpBuffer=(char *)malloc(obp_AllocSize); … … 440 442 441 443 //未完成 442 // OpBuffer[obp++]=(char)0xCC;444 //breakpoint; 443 445 444 446 … … 471 473 472 474 //Goto未知ラベルスケジュールが存在したらエラーにする 473 BOOST_FOREACH( const GotoLabelSchedule &gotoLabelSchedule, compiler.codeGenerator.gotoLabelSchedules )475 BOOST_FOREACH( const GotoLabelSchedule *pGotoLabelSchedule, compiler.codeGenerator.gotoLabelSchedules ) 474 476 { 475 if( gotoLabelSchedule.GetName().size()>0){476 SetError(6, gotoLabelSchedule.GetName(),gotoLabelSchedule.GetSourceCodePos());477 if(pGotoLabelSchedule->GetName().size()>0){ 478 SetError(6,pGotoLabelSchedule->GetName(),pGotoLabelSchedule->GetSourceCodePos()); 477 479 } 478 480 else{ 479 sprintf(temporary,"%d", gotoLabelSchedule.GetLineNum());480 SetError(6,temporary, gotoLabelSchedule.GetSourceCodePos());481 sprintf(temporary,"%d",pGotoLabelSchedule->GetLineNum()); 482 SetError(6,temporary,pGotoLabelSchedule->GetSourceCodePos()); 481 483 } 482 484 }
Note:
See TracChangeset
for help on using the changeset viewer.