Changeset 637 in dev for trunk/ab5.0/abdev/ab_common/src/Lexical/Source.cpp
- Timestamp:
- Jun 11, 2008, 10:10:26 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ab5.0/abdev/ab_common/src/Lexical/Source.cpp
r635 r637 941 941 return 1; 942 942 } 943 944 int SourceCodePosition::GetRelationalObjectModuleIndex() const 945 { 946 if( this->IsNothing() ) 947 { 948 _ASSERTE( false ); 949 throw; 950 } 951 952 return relationalObjectModuleIndex; 953 } 954 bool SourceCodePosition::IsNothing() const 955 { 956 if( this->relationalObjectModuleIndex == -1 && this->pos == -1 ) 957 { 958 return true; 959 } 960 961 if( this->relationalObjectModuleIndex == -1 || this->pos == -1 ) 962 { 963 _ASSERTE( false ); 964 throw; 965 } 966 967 return false; 968 }
Note:
See TracChangeset
for help on using the changeset viewer.