From aed34fdff60f46b9e7f4b4536454ea8202fd6e00 Mon Sep 17 00:00:00 2001
From: Adam Wardynski <award@.(B-4.4.46a)>
Date: Tue, 19 Apr 2011 14:10:38 +0200
Subject: [PATCH] Some more fixes to repeat op in grammar.

---
 libwccl/parser/grammar.g | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/libwccl/parser/grammar.g b/libwccl/parser/grammar.g
index 326fa51..ec2154c 100644
--- a/libwccl/parser/grammar.g
+++ b/libwccl/parser/grammar.g
@@ -1902,16 +1902,16 @@ match_cond_optional
 	}
 ;
 
-// Match condition - repleace
-// Returns boost::shared_ptr<OptionalMatch>
+// Match condition - repeat
+// Returns boost::shared_ptr<RepeatedMatch>
 match_cond_repeate
 	[const Corpus2::Tagset& tagset, Variables& vars]
-	returns [boost::shared_ptr<OptionalMatch> mtch]
+	returns [boost::shared_ptr<RepeatedMatch> mtch]
 {
 	boost::shared_ptr<ConjConditions> m_cond;
 }
 	: "repeat" LPAREN m_cond = match_condition [tagset, vars] RPAREN {
-		mtch.reset(new OptionalMatch(m_cond));
+		mtch.reset(new RepeatedMatch(m_cond));
 	}
 ;
 
-- 
GitLab