Changeset 279 in dev for trunk/abdev/BasicCompiler_Common/VarList.cpp
- Timestamp:
- Aug 14, 2007, 3:22:02 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abdev/BasicCompiler_Common/VarList.cpp
r265 r279 591 591 } 592 592 593 if(!GetLineNum(pobj_dti->lpdwCp[pobj_dti->iProcLevel],&i2,temporary)){ 593 std::string dummyStr; 594 if(!compiler.GetObjectModule().source.GetLineInfo( pobj_dti->lpdwCp[pobj_dti->iProcLevel], i2, dummyStr )){ 594 595 extern HWND hMainDlg; 595 596 //"デバッグ情報の取得に失敗" … … 597 598 return 0; 598 599 } 599 ShowErrorLine(i2, temporary);600 ShowErrorLine(i2,dummyStr.c_str()); 600 601 601 602 //プロシージャ コンボボックス … … 666 667 extern WNDPROC OldProcComboProc; 667 668 int i2,i3; 668 char temporary[MAX_PATH];669 669 670 670 switch(message){ … … 672 672 if(HIWORD(wParam)==CBN_SELCHANGE){ 673 673 i2=(int)SendMessage(hwnd,CB_GETCURSEL,0,0); 674 GetLineNum(pobj_dti->lpdwCp[pobj_dti->iProcLevel-i2],&i3,temporary); 675 ShowErrorLine(i3,temporary); 674 675 std::string dummyStr; 676 compiler.GetObjectModule().source.GetLineInfo( pobj_dti->lpdwCp[pobj_dti->iProcLevel-i2], i3, dummyStr ); 677 ShowErrorLine(i3,dummyStr.c_str()); 676 678 677 679 RefreshLocalVar_with_WindowLock();
Note:
See TracChangeset
for help on using the changeset viewer.