Changeset 636 in dev for trunk/ab5.0/abdev/BasicCompiler_Common/VarList.cpp
- Timestamp:
- Jun 10, 2008, 11:40:17 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ab5.0/abdev/BasicCompiler_Common/VarList.cpp
r587 r636 621 621 { 622 622 pobj_dti->lpdwCp[i3]=oldSourceLines[i2].GetSourceCodePos(); 623 pobj_dti-> lpdwSourceIndex[i3]=oldSourceLines[i2].GetSourceIndex();623 pobj_dti->relationalObjectModuleIndexes[i3]=oldSourceLines[i2].GetRelationalObjectModuleIndex(); 624 624 } 625 625 } … … 631 631 pobj_dti->lplpSpBase[i2]=pobj_dti->lplpSpBase[i2+1]; 632 632 pobj_dti->lpdwCp[i2]=pobj_dti->lpdwCp[i2+1]; 633 pobj_dti-> lpdwSourceIndex[i2]=pobj_dti->lpdwSourceIndex[i2+1];633 pobj_dti->relationalObjectModuleIndexes[i2]=pobj_dti->relationalObjectModuleIndexes[i2+1]; 634 634 } 635 635 i3--; … … 639 639 640 640 std::string dummyStr; 641 if(!compiler.GetObjectModule().GetSource( pobj_dti->lpdwSourceIndex[pobj_dti->iProcLevel] ).GetLineInfo( pobj_dti->lpdwCp[pobj_dti->iProcLevel], i2, dummyStr )){ 641 extern BasicSources sourcesLinkRelationalObjectModule; 642 if(!sourcesLinkRelationalObjectModule[pobj_dti->relationalObjectModuleIndexes[pobj_dti->iProcLevel]].GetLineInfo( pobj_dti->lpdwCp[pobj_dti->iProcLevel], i2, dummyStr )){ 642 643 extern HWND hMainDlg; 643 644 //"デバッグ情報の取得に失敗" … … 721 722 722 723 std::string dummyStr; 723 compiler.GetObjectModule().GetSource( pobj_dti->lpdwSourceIndex[pobj_dti->iProcLevel] ).GetLineInfo( pobj_dti->lpdwCp[pobj_dti->iProcLevel-i2], i3, dummyStr ); 724 extern BasicSources sourcesLinkRelationalObjectModule; 725 sourcesLinkRelationalObjectModule[pobj_dti->relationalObjectModuleIndexes[pobj_dti->iProcLevel]].GetLineInfo( pobj_dti->lpdwCp[pobj_dti->iProcLevel-i2], i3, dummyStr ); 724 726 ShowErrorLine(i3,dummyStr.c_str()); 725 727
Note:
See TracChangeset
for help on using the changeset viewer.