diff --git a/include/mapnik/css_color_grammar_x3_def.hpp b/include/mapnik/css_color_grammar_x3_def.hpp index 2d6153483..643cbbc3a 100644 --- a/include/mapnik/css_color_grammar_x3_def.hpp +++ b/include/mapnik/css_color_grammar_x3_def.hpp @@ -218,7 +218,7 @@ struct named_colors_ : x3::symbols x3::uint_parser hex2; x3::uint_parser hex1; -x3::uint_parser dec3; +x3::uint_parser dec3; // starting rule css_color_grammar_type const css_color("css_color"); @@ -390,7 +390,7 @@ auto const rgba_color_percent_def = lit("rgba") >> lit(',') >> dec3[percent_blue] >> lit('%') >> lit(',') >> double_[opacity] >> lit(')'); -auto const hsl_values = x3::rule> {} = +auto const hsl_values = x3::rule> {} = lit("hsl") >> lit('(') >> dec3 >> lit(',') >> dec3 >> lit('%') @@ -398,7 +398,7 @@ auto const hsl_values = x3::rule> attr(1.0) >> lit(')') ; -auto const hsla_values = x3::rule> {} = +auto const hsla_values = x3::rule> {} = lit("hsla") >> lit('(') >> dec3 >> lit(',') >> dec3 >> lit('%')