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/MakeExe.cpp

    r273 r279  
    2424
    2525    //最後尾に貼り付け
    26     compiler.source.Addition( temp );
     26    compiler.GetObjectModule().source.Addition( temp );
    2727
    2828    HeapDefaultFree(temp);
     
    3535    extern BOOL bStopCompile;
    3636    extern HWND hMainDlg;
    37     int i2,i3;
     37    int i3;
    3838    char temp2[MAX_PATH];
    3939
     
    5757    //プログラムをファイルから読み込む
    5858    extern char SourceFileName[MAX_PATH];
    59     if( !compiler.source.ReadFile( SourceFileName ) ){
     59    if( !compiler.GetObjectModule().source.ReadFile( SourceFileName ) ){
    6060        SetError(201,SourceFileName,-1);
    6161        goto EndCompile;
     
    188188    ShowWindow(hMainDlg,SW_SHOW);
    189189#endif
    190 
    191     //#include情報を解放
    192     extern INCLUDEFILEINFO IncludeFileInfo;
    193     for(i2=0;i2<IncludeFileInfo.FilesNum;i2++)
    194     {
    195         free(IncludeFileInfo.ppFileNames[i2]);
    196     }
    197     free(IncludeFileInfo.ppFileNames);
    198190}
    199191int MainThread(DWORD dummy){
Note: See TracChangeset for help on using the changeset viewer.