don't skip iter_pos
This commit is contained in:
parent
6122cdf7a8
commit
4dee3d3b51
1 changed files with 2 additions and 1 deletions
|
@ -56,6 +56,7 @@ extract_bounding_box_grammar<Iterator, ErrorHandler>::extract_bounding_box_gramm
|
||||||
qi::eps_type eps;
|
qi::eps_type eps;
|
||||||
qi::raw_type raw;
|
qi::raw_type raw;
|
||||||
qi::char_type char_;
|
qi::char_type char_;
|
||||||
|
qi::no_skip_type no_skip;
|
||||||
boost::spirit::repository::qi::iter_pos_type iter_pos;
|
boost::spirit::repository::qi::iter_pos_type iter_pos;
|
||||||
using qi::fail;
|
using qi::fail;
|
||||||
using qi::on_error;
|
using qi::on_error;
|
||||||
|
@ -63,7 +64,7 @@ extract_bounding_box_grammar<Iterator, ErrorHandler>::extract_bounding_box_gramm
|
||||||
start = features(_r1)
|
start = features(_r1)
|
||||||
;
|
;
|
||||||
|
|
||||||
features = iter_pos[_a = _1] >> -(lit('{')
|
features = no_skip[iter_pos[_a = _1]] >> -(lit('{')
|
||||||
>> *((json.key_value - lit("\"features\"")) >> lit(','))
|
>> *((json.key_value - lit("\"features\"")) >> lit(','))
|
||||||
>> lit("\"features\"")
|
>> lit("\"features\"")
|
||||||
>> lit(':'))
|
>> lit(':'))
|
||||||
|
|
Loading…
Reference in a new issue