X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=parse_trigrams.h;h=2387c9078c3bd6c0dded9bd8d940289ecee37aa1;hb=fd6198891d6fd9642effc0843fef6f23b991af3e;hp=c845cdeab93cec0f0803b01d01cda232e422b546;hpb=a2a3c6f0a7037c012839c5b24523b9f9e3f6f195;p=plocate 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);