Changeset 555 in dev for trunk/ab5.0/abdev/BasicCompiler_Common/src/Source.cpp
- Timestamp:
- May 5, 2008, 2:23:49 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ab5.0/abdev/BasicCompiler_Common/src/Source.cpp
r554 r555 621 621 else continue; 622 622 623 if( !Jenga::Common::Path( temporary ).IsExistFile() ) 624 { 625 this->cannotIncludePath = temporary; 626 this->cannotIncludeSourcePos = i; 627 includedFilesRelation.AddLine( FileLayer[layer] ); 628 break; 629 } 630 623 631 if( i == 0 && Jenga::Common::Path(temporary).GetFileName() == "basic" ) 624 632 { … … 655 663 656 664 //インクルードファイルを読み込む 657 if( !source.ReadFile_InIncludeDirective( temporary ) ){ 658 sprintf(temp2,"インクルードファイル \"%s\" をオープンできません",temporary); 659 compiler.errorMessenger.Output(-1,temp2,i); 660 break; 665 if( !source.ReadFile_InIncludeDirective( temporary ) ) 666 { 667 throw; 661 668 } 662 669 }
Note:
See TracChangeset
for help on using the changeset viewer.