Fix dasharray grammar
This commit is contained in:
parent
6e44fb052c
commit
e1d7d3deb5
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ bool parse_dasharray(std::string const& value, dash_array& dash)
|
||||||
std::vector<double> buf;
|
std::vector<double> buf;
|
||||||
auto first = value.begin();
|
auto first = value.begin();
|
||||||
auto last = value.end();
|
auto last = value.end();
|
||||||
bool r = x3::phrase_parse(first, last, (double_ % no_skip[char_(", ")] | "none"), space, buf);
|
bool r = x3::phrase_parse(first, last, (double_ % -char_(',') | "none"), space, buf);
|
||||||
if (r && first == last)
|
if (r && first == last)
|
||||||
{
|
{
|
||||||
return setup_dashes(buf, dash);
|
return setup_dashes(buf, dash);
|
||||||
|
|
Loading…
Reference in a new issue