Changeset 477 in dev for trunk/ab5.0/abdev/BasicCompiler_Common/src
- Timestamp:
- Apr 6, 2008, 8:07:40 PM (17 years ago)
- Location:
- trunk/ab5.0/abdev/BasicCompiler_Common/src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ab5.0/abdev/BasicCompiler_Common/src/BoostSerializationSupport.cpp
r404 r477 485 485 486 486 #include <logger.h> 487 #include <Configuration.h> 487 488 488 489 template class Jenga::Common::BoostSerializationSupport<LoggerSetting>; 490 template class Jenga::Common::BoostSerializationSupport<Configuration>; -
trunk/ab5.0/abdev/BasicCompiler_Common/src/Delegate.cpp
r465 r477 163 163 destSource = ""; 164 164 165 SourceTemplate sourceTemplate( "\\SubOperation\\templates\\delegate_class.tab" );165 SourceTemplate sourceTemplate( ActiveBasic::Common::Environment::GetAbdevSystemDirPath() + "\\templates\\delegate_class.tab" ); 166 166 167 167 this->Iterator_Reset(); -
trunk/ab5.0/abdev/BasicCompiler_Common/src/Program.cpp
r472 r477 10 10 11 11 Program program; 12 13 void Program::Configurate() 14 { 15 Configuration configuration; 16 const std::string filePath = Jenga::Common::Environment::GetAppDir() + "\\config.xml"; 17 if( Jenga::Common::Path( filePath ).IsExistFile() ) 18 { 19 configuration.ReadXml( filePath ); 20 } 21 else 22 { 23 configuration.WriteXml( filePath ); 24 } 25 26 ActiveBasic::Common::Environment::SetAbdevRootPath( configuration.GetAbdevRootRelativePath() ); 27 } 12 28 13 29 bool Program::AnalysisCommandLines() -
trunk/ab5.0/abdev/BasicCompiler_Common/src/Source.cpp
r467 r477 614 614 615 615 if(sw1){ 616 sprintf(temp2,"%s %s", program.GetIncludeDir().c_str(), temporary );616 sprintf(temp2,"%s\\%s", program.GetIncludeDir().c_str(), temporary ); 617 617 lstrcpy(temporary,temp2); 618 618 } … … 624 624 else if(memcmp(buffer+i+1,"prompt",6)==0){ 625 625 i2=i+7; 626 sprintf(temporary,"%s basic\\prompt.sbp", program.GetIncludeDir().c_str() );626 sprintf(temporary,"%s\\basic\\prompt.sbp", program.GetIncludeDir().c_str() ); 627 627 } 628 628 else if(memcmp(buffer+i+1,"N88BASIC",8)==0){ 629 629 i2=i+9; 630 sprintf(temporary,"%s basic\\prompt.sbp", program.GetIncludeDir().c_str() );630 sprintf(temporary,"%s\\basic\\prompt.sbp", program.GetIncludeDir().c_str() ); 631 631 } 632 632 else if(memcmp(buffer+i+1,"console",7)==0){ … … 636 636 637 637 i2=i+8; 638 sprintf(temporary,"%s basic\\dos_console.sbp", program.GetIncludeDir().c_str() );638 sprintf(temporary,"%s\\basic\\dos_console.sbp", program.GetIncludeDir().c_str() ); 639 639 } 640 640 else continue;
Note:
See TracChangeset
for help on using the changeset viewer.