mirror of
https://git.savannah.gnu.org/git/gperf.git
synced 2025-12-02 13:09:22 +00:00
Improve comments.
* src/search.cc: Fix comments.
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2025-04-17 Bruno Haible <bruno@clisp.org>
|
||||
|
||||
Improve comments.
|
||||
* src/search.cc: Fix comments.
|
||||
|
||||
2025-04-16 Bruno Haible <bruno@clisp.org>
|
||||
|
||||
build: Update after gnulib changed.
|
||||
|
||||
@@ -922,7 +922,7 @@ Search::prepare_asso_values ()
|
||||
is the set of characters c with _occurrences[c] > 0. At the end, C
|
||||
is empty.) To each keyword K, we associate the multiset of _selchars
|
||||
for which the _asso_values[] are undetermined:
|
||||
K --> K->_selchars intersect C.
|
||||
K --> K->_selchars ∩ C.
|
||||
Consider two keywords equivalent if their value under this mapping is
|
||||
the same. This introduces an equivalence relation on the set of
|
||||
keywords. The equivalence classes partition the keyword set. (At the
|
||||
@@ -1206,7 +1206,7 @@ Search::find_asso_values ()
|
||||
determined[c] = false;
|
||||
}
|
||||
|
||||
/* main_c must be one of these. */
|
||||
/* chosen_c must be one of these. */
|
||||
if (determined[chosen_c])
|
||||
abort ();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user