Changeset 641 in dev for trunk/ab5.0/abdev/ab_common
- Timestamp:
- Jun 15, 2008, 11:59:46 PM (16 years ago)
- Location:
- trunk/ab5.0/abdev/ab_common
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ab5.0/abdev/ab_common/include/Lexical/NativeCode.h
r640 r641 244 244 return sourceLines; 245 245 } 246 void NextSourceLine( const SourceCodePosition &sourceCodePosition );246 void NextSourceLine( const SourceCodePosition &sourceCodePosition, bool isInSystemProc ); 247 247 248 248 void ResetDataSectionBaseOffset( long dataSectionBaseOffset ); -
trunk/ab5.0/abdev/ab_common/include/Lexical/Procedure.h
r640 r641 136 136 // 各種フラグ 137 137 bool isExport; 138 mutable bool is System;138 mutable bool isAutoGenerationSystem; 139 139 mutable bool isAutoGeneration; 140 140 mutable bool isCompiled; … … 180 180 ar & BOOST_SERIALIZATION_NVP( realSecondParmNum ); 181 181 ar & BOOST_SERIALIZATION_NVP( isExport ); 182 ar & BOOST_SERIALIZATION_NVP( is System );182 ar & BOOST_SERIALIZATION_NVP( isAutoGenerationSystem ); 183 183 ar & BOOST_SERIALIZATION_NVP( isAutoGeneration ); 184 184 ar & BOOST_SERIALIZATION_NVP( isCompiled ); … … 275 275 return isExport; 276 276 } 277 void ThisIs SystemProc() const278 { 279 is System = true;280 } 281 bool Is System() const282 { 283 return is System;277 void ThisIsAutoGenerationSystemProc() const 278 { 279 isAutoGenerationSystem = true; 280 } 281 bool IsAutoGenerationSystem() const 282 { 283 return isAutoGenerationSystem; 284 284 } 285 285 void ThisIsAutoGenerationProc() const … … 291 291 return isAutoGeneration; 292 292 } 293 bool IsSystem() const; 293 294 void CompleteCompile() const 294 295 { -
trunk/ab5.0/abdev/ab_common/src/Lexical/NativeCode.cpp
r640 r641 161 161 } 162 162 163 void NativeCode::NextSourceLine( const SourceCodePosition &sourceCodePosition )163 void NativeCode::NextSourceLine( const SourceCodePosition &sourceCodePosition, bool isInSystemProc ) 164 164 { 165 165 if( sourceLines.size() ) … … 173 173 174 174 extern BOOL bDebugSupportProc; 175 extern BOOL bSystemProc;176 175 DWORD sourceLineType = 0; 177 176 if( bDebugSupportProc ) … … 179 178 sourceLineType |= CODETYPE_DEBUGPROC; 180 179 } 181 if( bSystemProc )180 if( isInSystemProc ) 182 181 { 183 182 sourceLineType |= CODETYPE_SYSTEMPROC; -
trunk/ab5.0/abdev/ab_common/src/Lexical/Procedure.cpp
r640 r641 44 44 , realSecondParmNum( 1 ) 45 45 , isExport( isExport ) 46 , is System( false )46 , isAutoGenerationSystem( false ) 47 47 , isAutoGeneration( false ) 48 48 , isCompiled( false ) … … 65 65 , realSecondParmNum( userProc.realSecondParmNum ) 66 66 , isExport( userProc.isExport ) 67 , is System( userProc.isSystem )67 , isAutoGenerationSystem( userProc.isAutoGenerationSystem ) 68 68 , isAutoGeneration( userProc.isAutoGeneration ) 69 69 , isCompiled( false ) … … 138 138 return false; 139 139 } 140 bool UserProc::IsSystem() const 141 { 142 // "_System_" を名前の先頭に含む関数 143 if( memcmp( this->GetName().c_str(), "_System_", 8 ) == 0 ) 144 { 145 return true; 146 } 147 148 // "_System_" を名前の先頭に含むクラスのメソッド 149 if( this->HasParentClass() ) 150 { 151 if( memcmp( this->GetParentClass().GetName().c_str(), "_System_", 8 ) == 0 ) 152 { 153 return true; 154 } 155 } 156 157 return false; 158 } 140 159 const NamespaceScopes &UserProc::GetNamespaceScopes() const 141 160 { -
trunk/ab5.0/abdev/ab_common/src/Lexical/Source.cpp
r637 r641 900 900 } 901 901 902 if( includedFilesRelation.GetLineCounts() < i2 )902 if( includedFilesRelation.GetLineCounts() <= i2 ) 903 903 { 904 904 //Jenga::Throw( "BasicSource::GetLineInfoメソッドで不正な行の情報を取得しようとした" );
Note:
See TracChangeset
for help on using the changeset viewer.