SVG path grammar - return start rule by const&
This commit is contained in:
parent
30749031cf
commit
584fda88e0
2 changed files with 3 additions and 3 deletions
|
@ -35,13 +35,13 @@ namespace x3 = boost::spirit::x3;
|
|||
class relative_tag;
|
||||
class svg_path_tag;
|
||||
|
||||
using svg_path_grammar_type = x3::rule<class svg_rule_tag>;
|
||||
using svg_path_grammar_type = x3::rule<class svg_path_rule_tag>;
|
||||
|
||||
BOOST_SPIRIT_DECLARE(svg_path_grammar_type);
|
||||
|
||||
}
|
||||
|
||||
grammar::svg_path_grammar_type svg_path_grammar();
|
||||
grammar::svg_path_grammar_type const& svg_path_grammar();
|
||||
|
||||
}}
|
||||
|
||||
|
|
|
@ -185,7 +185,7 @@ BOOST_SPIRIT_DEFINE(
|
|||
|
||||
}
|
||||
|
||||
grammar::svg_path_grammar_type svg_path_grammar()
|
||||
grammar::svg_path_grammar_type const& svg_path_grammar()
|
||||
{
|
||||
return grammar::svg_path;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue