Sequence parsers using `>>` allow for backtracking, expectation parsers `>` do not. This allows us to properly report the position where parsing failed, by catching the expectation_failure exception and adapting the iterator ourselves. References: - https://github.com/Project-OSRM/osrm-backend/pull/2188 - https://github.com/Project-OSRM/osrm-backend/issues/2168 - http://www.boost.org/doc/libs/1_55_0/libs/spirit/doc/html/spirit/qi/reference/operator/expect.html |
||
---|---|---|
.. | ||
api | ||
http | ||
service | ||
connection.hpp | ||
request_handler.hpp | ||
request_parser.hpp | ||
server.hpp | ||
service_handler.hpp |