mirror of
https://github.com/mapnik/mapnik.git
synced 2025-12-08 20:13:09 +00:00
don't skip iter_pos
This commit is contained in:
parent
6122cdf7a8
commit
4dee3d3b51
@ -56,6 +56,7 @@ extract_bounding_box_grammar<Iterator, ErrorHandler>::extract_bounding_box_gramm
|
||||
qi::eps_type eps;
|
||||
qi::raw_type raw;
|
||||
qi::char_type char_;
|
||||
qi::no_skip_type no_skip;
|
||||
boost::spirit::repository::qi::iter_pos_type iter_pos;
|
||||
using qi::fail;
|
||||
using qi::on_error;
|
||||
@ -63,7 +64,7 @@ extract_bounding_box_grammar<Iterator, ErrorHandler>::extract_bounding_box_gramm
|
||||
start = features(_r1)
|
||||
;
|
||||
|
||||
features = iter_pos[_a = _1] >> -(lit('{')
|
||||
features = no_skip[iter_pos[_a = _1]] >> -(lit('{')
|
||||
>> *((json.key_value - lit("\"features\"")) >> lit(','))
|
||||
>> lit("\"features\"")
|
||||
>> lit(':'))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user