From 4c83c9b7134055b97e2d764c1bc0217c40a5d357 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Pawe=C5=82=20K=C4=99dzia?= <pawel.kedzia@pwr.wroc.pl>
Date: Fri, 1 Apr 2011 14:41:20 +0200
Subject: [PATCH] Changed default match vector name from $m_M to$ m:_M

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

diff --git a/libwccl/parser/grammar.g b/libwccl/parser/grammar.g
index 41d5238..998e823 100644
--- a/libwccl/parser/grammar.g
+++ b/libwccl/parser/grammar.g
@@ -248,7 +248,7 @@ parse_match_rule
 	returns [boost::shared_ptr<Expression> ret_match]
 {
 	Variables vars;
-	vars.get_put<Match>("$m_M");
+	vars.get_put<Match>("$m:_M");
 }
 	: ret_match = match_rule_operator[tagset, vars] 
 ;
@@ -1718,7 +1718,7 @@ match_apply_operator
 	[const Corpus2::Tagset& tagset, Variables& vars]
 	returns [boost::shared_ptr<ApplyOperator> ret_op]
 {
-	VariableAccessor<Match> matches = vars.create_accessor<Match>("$m_M");;
+	VariableAccessor<Match> matches = vars.create_accessor<Match>("$m:_M");;
 	boost::shared_ptr<const MatchOperator> match_op;
 	boost::shared_ptr<std::vector<boost::shared_ptr<MatchAction> > > actions;
 	boost::shared_ptr<std::vector<boost::shared_ptr<Function<Bool> > > > conditions;
-- 
GitLab