return true;
// get the storage class and find the next tag
- if ( *pTagStorageType == '\0' ) return false;
- if ( !SkipToNextTag(*pTagStorageType, pTagData, numBytesParsed) ) return false;
- if ( *pTagData == '\0' ) return false;
+ if ( *pTagStorageType == '\0' ) {
+ ErrorString = "unexpected null found - 1";
+ return false;
+ }
+ if ( !SkipToNextTag(*pTagStorageType, pTagData, numBytesParsed) ) {
+ ErrorString = "could not skip to next tag";
+ return false;
+ }
+ if ( *pTagData == '\0' ) {
+ ErrorString = "unexpected null found - 2";
+ return false;
+ }
}
// checked all tags, none match