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

Match and position grammar.g variable are added into parse_match_rule

parent f5bf93e5
Branches
No related tags found
No related merge requests found
......@@ -242,15 +242,14 @@ parse_rule_sequence
// ----------------------------------------------------------------------------
// ----------------------------------------------------------------------------
// Rule for parsing the match rules
// Returns ????
// Returns boost::shared_ptr<Expression>
parse_match_rule
[const Corpus2::Tagset& tagset]
returns [boost::shared_ptr<Expression> ret_match]
{
Variables vars;
// TODO Dodac do vars pozycje $_ oraz wektor $m_M
// TODO
fprintf(stderr, "TODO: parse_match_rule -> return type\n");
vars.get_put<Match>("$m_M");
vars.get_put<Position>("$_");
}
: ret_match = match_rule_operator[tagset, vars]
;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment