Tweak comment to make it less ambiguous

This commit is contained in:
Maxime Coste 2018-07-08 16:58:19 +10:00
parent 677ae610f4
commit cde0c51cd6

View File

@ -903,8 +903,8 @@ private:
} }
// Mutate start_desc with informations on which Codepoint could start a match. // Mutate start_desc with informations on which Codepoint could start a match.
// Returns true if the node can not consume the char, in which case the next node // Returns true if the node possibly does not consume the char, in which case
// would still be relevant for the parent node start chars computation. // the next node would still be relevant for the parent node start chars computation.
template<MatchDirection direction> template<MatchDirection direction>
bool compute_start_desc(ParsedRegex::NodeIndex index, bool compute_start_desc(ParsedRegex::NodeIndex index,
CompiledRegex::StartDesc& start_desc) const CompiledRegex::StartDesc& start_desc) const