opt: headword parse modification

This commit is contained in:
Xiao Yi Fang 2024-07-23 08:58:24 +08:00
parent 4c41f9cfd1
commit 0fa968d189

View file

@ -1738,7 +1738,7 @@ static void handleIdxSynFile( string const & fileName,
if ( headword.find_first_of( '$' ) != string::npos )
continue; // Skip this entry
}
else if ( headword.end() == '$' ) {
else if ( headword.back() == '$' ) {
if ( headword.find_first_of( '/' ) != string::npos )
continue; // Skip this entry
}