Changeset 636 in dev for trunk/ab5.0/abdev/BasicCompiler_Common/MakeExe.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/MakeExe.cpp
r622 r636 34 34 35 35 //最後尾に貼り付け 36 compiler.GetObjectModule().Get CurrentSource().Addition( temp );36 compiler.GetObjectModule().GetSource().Addition( temp ); 37 37 38 38 HeapDefaultFree(temp); … … 64 64 TypeOfSubSystem=IMAGE_SUBSYSTEM_WINDOWS_GUI; 65 65 66 // オブジェクトモジュール名をセットする 67 compiler.GetObjectModule().SetName( program.GetOutputFileName() ); 68 66 69 //プログラムをファイルから読み込む 67 compiler.GetObjectModule().SetCurrentSourceIndex( (int)compiler.GetObjectModule().GetSources().size() ); 68 compiler.GetObjectModule().GetSources().push_back( BasicSource() ); 69 bool result = compiler.GetObjectModule().GetCurrentSource().ReadFile( 70 bool result = compiler.GetObjectModule().GetSource().ReadFile( 70 71 program.GetSourceFilePath(), 71 72 compiler.IsDebug(), … … 80 81 goto EndCompile; 81 82 } 82 if( !compiler.Get ObjectModule().GetCurrentSource().cannotIncludePath.empty() )83 if( !compiler.GetCurrentSource().cannotIncludePath.empty() ) 83 84 { 84 85 compiler.errorMessenger.Output( 85 86 35, 86 compiler.Get ObjectModule().GetCurrentSource().cannotIncludePath,87 compiler.Get ObjectModule().GetCurrentSource().cannotIncludeSourcePos87 compiler.GetCurrentSource().cannotIncludePath, 88 compiler.GetCurrentSource().cannotIncludeSourcePos 88 89 ); 89 90 goto EndCompile; … … 145 146 146 147 ChangeCommandToCode(basbuf); 147 compiler.GetObjectModule().GetSource s()[0]._ResetLength();148 compiler.GetObjectModule().GetSource()._ResetLength(); 148 149 149 150 if( compiler.errorMessenger.HasError() || bStopCompile )
Note:
See TracChangeset
for help on using the changeset viewer.