Changeset 641 in dev for trunk/ab5.0/abdev/ab_common/src
- Timestamp:
- Jun 15, 2008, 11:59:46 PM (16 years ago)
- Location:
- trunk/ab5.0/abdev/ab_common/src/Lexical
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
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.