From e1d7d3deb5dc5f0b79e1b6db63f04437398b8e43 Mon Sep 17 00:00:00 2001 From: Artem Pavlenko Date: Mon, 22 Apr 2024 15:22:19 +0100 Subject: [PATCH] Fix dasharray grammar --- src/dasharray_parser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dasharray_parser.cpp b/src/dasharray_parser.cpp index 18f8a7b76..c3191caaa 100644 --- a/src/dasharray_parser.cpp +++ b/src/dasharray_parser.cpp @@ -70,7 +70,7 @@ bool parse_dasharray(std::string const& value, dash_array& dash) std::vector buf; auto first = value.begin(); 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) { return setup_dashes(buf, dash);