diff --git a/libwccl/parser/grammar.g b/libwccl/parser/grammar.g index 41d52380bce3c44a8a3aaa2b542f38bcb4746f8d..998e823e330625a7131e946742465a924a79acad 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;