Ignore:
Timestamp:
May 10, 2008, 1:40:33 PM (16 years ago)
Author:
dai_9181
Message:

NativeSectionクラスを追加(64bit版だけ一旦コミット)。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ab5.0/abdev/BasicCompiler_Common/MakeExe.cpp

    r555 r585  
    3434
    3535    //最後尾に貼り付け
    36     compiler.GetObjectModule().GetCurrentSource().Addition( temp );
     36    compiler.GetObjectModule().nativeSection.GetCurrentSource().Addition( temp );
    3737
    3838    HeapDefaultFree(temp);
     
    6464
    6565    //プログラムをファイルから読み込む
    66     compiler.GetObjectModule().SetCurrentSourceIndex( (int)compiler.GetObjectModule().GetSources().size() );
    67     compiler.GetObjectModule().GetSources().push_back( BasicSource() );
    68     bool result = compiler.GetObjectModule().GetCurrentSource().ReadFile(
     66    compiler.GetObjectModule().nativeSection.SetCurrentSourceIndex( (int)compiler.GetObjectModule().nativeSection.GetSources().size() );
     67    compiler.GetObjectModule().nativeSection.GetSources().push_back( BasicSource() );
     68    bool result = compiler.GetObjectModule().nativeSection.GetCurrentSource().ReadFile(
    6969        program.GetSourceFilePath(),
    7070        compiler.IsDebug(),
     
    7777        goto EndCompile;
    7878    }
    79     if( !compiler.GetObjectModule().GetCurrentSource().cannotIncludePath.empty() )
     79    if( !compiler.GetObjectModule().nativeSection.GetCurrentSource().cannotIncludePath.empty() )
    8080    {
    8181        compiler.errorMessenger.Output(
    8282            35,
    83             compiler.GetObjectModule().GetCurrentSource().cannotIncludePath,
    84             compiler.GetObjectModule().GetCurrentSource().cannotIncludeSourcePos
     83            compiler.GetObjectModule().nativeSection.GetCurrentSource().cannotIncludePath,
     84            compiler.GetObjectModule().nativeSection.GetCurrentSource().cannotIncludeSourcePos
    8585        );
    8686        goto EndCompile;
     
    142142
    143143    ChangeCommandToCode(basbuf);
    144     compiler.GetObjectModule().GetSources()[0]._ResetLength();
     144    compiler.GetObjectModule().nativeSection.GetSources()[0]._ResetLength();
    145145
    146146    if( compiler.errorMessenger.HasError() || bStopCompile )
Note: See TracChangeset for help on using the changeset viewer.