Changeset 585 in dev for trunk/ab5.0/abdev/BasicCompiler_Common/MakeExe.cpp
- Timestamp:
- May 10, 2008, 1:40:33 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ab5.0/abdev/BasicCompiler_Common/MakeExe.cpp
r555 r585 34 34 35 35 //最後尾に貼り付け 36 compiler.GetObjectModule(). GetCurrentSource().Addition( temp );36 compiler.GetObjectModule().nativeSection.GetCurrentSource().Addition( temp ); 37 37 38 38 HeapDefaultFree(temp); … … 64 64 65 65 //プログラムをファイルから読み込む 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( 69 69 program.GetSourceFilePath(), 70 70 compiler.IsDebug(), … … 77 77 goto EndCompile; 78 78 } 79 if( !compiler.GetObjectModule(). GetCurrentSource().cannotIncludePath.empty() )79 if( !compiler.GetObjectModule().nativeSection.GetCurrentSource().cannotIncludePath.empty() ) 80 80 { 81 81 compiler.errorMessenger.Output( 82 82 35, 83 compiler.GetObjectModule(). GetCurrentSource().cannotIncludePath,84 compiler.GetObjectModule(). GetCurrentSource().cannotIncludeSourcePos83 compiler.GetObjectModule().nativeSection.GetCurrentSource().cannotIncludePath, 84 compiler.GetObjectModule().nativeSection.GetCurrentSource().cannotIncludeSourcePos 85 85 ); 86 86 goto EndCompile; … … 142 142 143 143 ChangeCommandToCode(basbuf); 144 compiler.GetObjectModule(). GetSources()[0]._ResetLength();144 compiler.GetObjectModule().nativeSection.GetSources()[0]._ResetLength(); 145 145 146 146 if( compiler.errorMessenger.HasError() || bStopCompile )
Note:
See TracChangeset
for help on using the changeset viewer.