From: Steinar H. Gunderson Date: Wed, 23 Feb 2022 23:43:38 +0000 (+0100) Subject: Correct a comment. X-Git-Tag: 1.1.16~2 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;ds=inline;h=e16be5776f55aaad72ab9ba3194332ea6a2dc5d0;p=plocate Correct a comment. --- diff --git a/parse_trigrams.h b/parse_trigrams.h index c845cde..2387c90 100644 --- a/parse_trigrams.h +++ b/parse_trigrams.h @@ -58,7 +58,7 @@ static constexpr uint32_t PREMATURE_END_UNIGRAM = 0xFF000001; // Reads a unigram, taking into account escaping (\ becomes ). // Returns WILDCARD_UNIGRAM if there's an invalid unigram, ie., we found -// a glob character (?, * or a [] group). Returns EOS_UNIGRAM if we went +// a glob character (?, * or a [] group). Returns PREMATURE_END_UNIGRAM if we went // past the end of the string, e.g., a string that ends in a backslash. // The second element is always the length. std::pair read_unigram(const std::string &s, size_t start);