Changeset 828 in dev for trunk/ab5.0/abdev/ab_common/src/Lexical/Source.cpp
- Timestamp:
- Mar 19, 2012, 1:59:48 AM (13 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
-
Property svn:mergeinfo
set to
/branches/egtra merged eligible
-
Property svn:mergeinfo
set to
-
trunk/ab5.0/abdev
-
Property svn:ignore
set to
*.opensdf
*.sdf
*.suo
*.user
int
ipch
out
-
Property svn:ignore
set to
-
trunk/ab5.0/abdev/ab_common/src/Lexical/Source.cpp
r769 r828 945 945 return true; 946 946 } 947 948 int SourceCodePosition::GetRelationalObjectModuleIndex() const949 {950 if( this->IsNothing() )951 {952 _ASSERTE( false );953 throw;954 }955 956 return relationalObjectModuleIndex;957 }958 bool SourceCodePosition::IsNothing() const959 {960 if( this->relationalObjectModuleIndex == -1 && this->pos == -1 )961 {962 return true;963 }964 965 if( this->relationalObjectModuleIndex == -1 || this->pos == -1 )966 {967 _ASSERTE( false );968 throw;969 }970 971 return false;972 }
Note:
See TracChangeset
for help on using the changeset viewer.