Changeset 280 in dev for trunk/abdev/BasicCompiler_Common/VarList.cpp
- Timestamp:
- Aug 14, 2007, 8:37:08 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abdev/BasicCompiler_Common/VarList.cpp
r279 r280 576 576 } 577 577 if(i2==oldSourceLines.size()-1) pobj_dti->lpdwCp[i3]=-1; 578 else pobj_dti->lpdwCp[i3]=oldSourceLines[i2].GetSourceCodePos(); 578 else 579 { 580 pobj_dti->lpdwCp[i3]=oldSourceLines[i2].GetSourceCodePos(); 581 pobj_dti->lpdwSourceIndex[i3]=oldSourceLines[i2].GetSourceIndex(); 582 } 579 583 } 580 584 for(i3=0;i3<(int)pobj_dti->iProcLevel+1;i3++){ … … 585 589 pobj_dti->lplpSpBase[i2]=pobj_dti->lplpSpBase[i2+1]; 586 590 pobj_dti->lpdwCp[i2]=pobj_dti->lpdwCp[i2+1]; 591 pobj_dti->lpdwSourceIndex[i2]=pobj_dti->lpdwSourceIndex[i2+1]; 587 592 } 588 593 i3--; … … 592 597 593 598 std::string dummyStr; 594 if(!compiler.GetObjectModule(). source.GetLineInfo( pobj_dti->lpdwCp[pobj_dti->iProcLevel], i2, dummyStr )){599 if(!compiler.GetObjectModule().GetSource( pobj_dti->lpdwSourceIndex[pobj_dti->iProcLevel] ).GetLineInfo( pobj_dti->lpdwCp[pobj_dti->iProcLevel], i2, dummyStr )){ 595 600 extern HWND hMainDlg; 596 601 //"デバッグ情報の取得に失敗" … … 674 679 675 680 std::string dummyStr; 676 compiler.GetObjectModule(). source.GetLineInfo( pobj_dti->lpdwCp[pobj_dti->iProcLevel-i2], i3, dummyStr );681 compiler.GetObjectModule().GetSource( pobj_dti->lpdwSourceIndex[pobj_dti->iProcLevel] ).GetLineInfo( pobj_dti->lpdwCp[pobj_dti->iProcLevel-i2], i3, dummyStr ); 677 682 ShowErrorLine(i3,dummyStr.c_str()); 678 683
Note:
See TracChangeset
for help on using the changeset viewer.