Skip to content
Snippets Groups Projects
Commit 4c83c9b7 authored by Paweł Kędzia's avatar Paweł Kędzia
Browse files

Changed default match vector name from $m_M to$ m:_M

parent 2d5eed1e
Branches
No related merge requests found
...@@ -248,7 +248,7 @@ parse_match_rule ...@@ -248,7 +248,7 @@ parse_match_rule
returns [boost::shared_ptr<Expression> ret_match] returns [boost::shared_ptr<Expression> ret_match]
{ {
Variables vars; Variables vars;
vars.get_put<Match>("$m_M"); vars.get_put<Match>("$m:_M");
} }
: ret_match = match_rule_operator[tagset, vars] : ret_match = match_rule_operator[tagset, vars]
; ;
...@@ -1718,7 +1718,7 @@ match_apply_operator ...@@ -1718,7 +1718,7 @@ match_apply_operator
[const Corpus2::Tagset& tagset, Variables& vars] [const Corpus2::Tagset& tagset, Variables& vars]
returns [boost::shared_ptr<ApplyOperator> ret_op] 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<const MatchOperator> match_op;
boost::shared_ptr<std::vector<boost::shared_ptr<MatchAction> > > actions; boost::shared_ptr<std::vector<boost::shared_ptr<MatchAction> > > actions;
boost::shared_ptr<std::vector<boost::shared_ptr<Function<Bool> > > > conditions; boost::shared_ptr<std::vector<boost::shared_ptr<Function<Bool> > > > conditions;
......
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