Changeset 820 in dev for branches/egtra/ab5.0/abdev/ab_common/src/Lexical/Source.cpp
- Timestamp:
- Aug 7, 2011, 4:30:08 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/egtra/ab5.0/abdev/ab_common/src/Lexical/Source.cpp
r769 r820 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.