diff --git a/libwccl/ops/match/conditions/matchtext.cpp b/libwccl/ops/match/conditions/matchtext.cpp index aecd31e0c3a68b5121549249ec9348577b9dcedf..2d01ee515ee3c2a4c66b1eecda9792b54f0b516e 100644 --- a/libwccl/ops/match/conditions/matchtext.cpp +++ b/libwccl/ops/match/conditions/matchtext.cpp @@ -27,7 +27,7 @@ MatchResult MatchText::apply(const ActionExecContext& context) const boost::shared_ptr<MatchVector> v(new MatchVector()); 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. sc.set_position(orig_iter + v->size());