Ignore:
Timestamp:
Aug 14, 2007, 3:22:02 AM (17 years ago)
Author:
dai_9181
Message:

sourceをObjectModuleに入れた

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/abdev/BasicCompiler_Common/VarList.cpp

    r265 r279  
    591591    }
    592592
    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 )){
    594595        extern HWND hMainDlg;
    595596        //"デバッグ情報の取得に失敗"
     
    597598        return 0;
    598599    }
    599     ShowErrorLine(i2,temporary);
     600    ShowErrorLine(i2,dummyStr.c_str());
    600601
    601602    //プロシージャ コンボボックス
     
    666667    extern WNDPROC OldProcComboProc;
    667668    int i2,i3;
    668     char temporary[MAX_PATH];
    669669
    670670    switch(message){
     
    672672            if(HIWORD(wParam)==CBN_SELCHANGE){
    673673                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());
    676678
    677679                RefreshLocalVar_with_WindowLock();
Note: See TracChangeset for help on using the changeset viewer.