fix [-Wparentheses] warning

This commit is contained in:
artemp 2014-10-23 09:48:58 +01:00
parent 654c31d72d
commit 456ebe006b

View file

@ -104,7 +104,7 @@ feature_grammar<Iterator,FeatureType,ErrorHandler>::feature_grammar(mapnik::tran
; ;
properties = lit("\"properties\"") properties = lit("\"properties\"")
> lit(':') > (lit('{') > -attributes(_r1) > lit('}')) | lit("null") > lit(':') > ((lit('{') > -attributes(_r1) > lit('}')) | lit("null"))
; ;
attributes = (json_.string_ [_a = _1] > lit(':') > attribute_value [put_property_(_r1,_a,_1)]) % lit(',') attributes = (json_.string_ [_a = _1] > lit(':') > attribute_value [put_property_(_r1,_a,_1)]) % lit(',')