Skip to content
Snippets Groups Projects
Commit 3cb90c6a authored by Adam Wardynski's avatar Adam Wardynski
Browse files

Add missing parenthesis.

parent b3ae393f
Branches
No related merge requests found
...@@ -27,7 +27,7 @@ MatchResult MatchText::apply(const ActionExecContext& context) const ...@@ -27,7 +27,7 @@ MatchResult MatchText::apply(const ActionExecContext& context) const
boost::shared_ptr<MatchVector> v(new MatchVector()); boost::shared_ptr<MatchVector> v(new MatchVector());
for(int i = orig_iter; i < iter_pos; ++i) { for(int i = orig_iter; i < iter_pos; ++i) {
v->append(boost::shared_ptr<TokenMatch>(new TokenMatch(i)); v->append(boost::shared_ptr<TokenMatch>(new TokenMatch(i)));
} }
// increase current sentence position to the point after the matched tokens. // increase current sentence position to the point after the matched tokens.
sc.set_position(orig_iter + v->size()); sc.set_position(orig_iter + v->size());
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment