library/src/blockclass/subclasses/BP_CommandLineOptionParser.cc
// add an error to the individual token (must be ascii/null terminated)
add an error to the individual token (must be ascii/null terminated)
add an error to the individual token ( must be ascii / null terminated )
BP_ERROR_T BP_CommandLineOptionParser::addErrorToToken(P_BP_COMMAND_LINE_PARSER_TOKENS token, char *error_msg)
{
	if(!token || !error_msg || !this->tq)
		return ERR_FAILURE;
	return BP_ArrayPushDupStringTQ(this->tq, error_msg, &token->token_error_msg, &token->token_error_n);
}
BP_ERROR_T BP_CommandLineOptionParser :: addErrorToToken ( P_BP_COMMAND_LINE_PARSER_TOKENS token , char * error_msg ) { if ( ! token || ! error_msg || ! this -> tq ) return ERR_FAILURE ; return BP_ArrayPushDupStringTQ ( this -> tq , error_msg , & token -> token_error_msg , & token -> token_error_n ) ; }
add an error to the individual token (must be ascii/null terminated)
add an error to the individual token ( must be ascii / null terminated )
// ensure we have a token, error message, and a tail queue allocator to use // for storage. // add the error message using the tail queue string stacking duplicator