link-grammar-5.8.0/link-grammar/dict-file/read-dict.c
/**
 * dict_match --  return true if strings match, else false.
 * A "bare" string (one without a subscript) will match any corresponding
 * string with a subscript; so, for example, "make" and "make.n" are
 * a match.  If both strings have subscripts, then the subscripts must match.
 *
 * A subscript is the part that follows the SUBSCRIPT_MARK.
 */
-  return true if strings match, else false.

A subscript is the part that follows the SUBSCRIPT_MARK.
- return true if strings match else false . A subscript is the part that follows the SUBSCRIPT_MARK .
static bool dict_match(const char * s, const char * t)
{
	while ((*s != '\0') && (*s == *t)) { s++; t++; }
	if (*s == *t) return true; 
	if ((*s == 0) && (*t == SUBSCRIPT_MARK)) return true;
	if ((*s == SUBSCRIPT_MARK) && (*t == 0)) return true;
	return false;
}
static bool dict_match ( const char * s , const char * t ) { while ( ( * s != ' \0 ' ) && ( * s == * t ) ) { s ++ ; t ++ ; } if ( * s == * t ) return true ; if ( ( * s == 0 ) && ( * t == SUBSCRIPT_MARK ) ) return true ; if ( ( * s == SUBSCRIPT_MARK ) && ( * t == 0 ) ) return true ; return false ; }
dict_match --  return true if strings match, else false.
dict_match -- return true if strings match else false .
/* both are '\0' */