Permalink
Browse files

changed from operator > to >> as > throws

  • Loading branch information...
1 parent 743dd78 commit fce492448695be1082ec718a870f8cdb15fa23ee Jeroen Habraken committed with mikhailberis Jan 10, 2010
Showing with 3 additions and 3 deletions.
  1. +1 −1 boost/network/uri/detail/parse_uri.hpp
  2. +2 −2 boost/network/uri/http/detail/parse_specific.hpp
@@ -33,7 +33,7 @@ namespace boost { namespace network { namespace uri {
bool ok = qi::parse(
start_, end_,
(
- (qi::alpha > *(qi::alnum | qi::char_("+.-")))
+ (qi::alpha >> *(qi::alnum | qi::char_("+.-")))
>> ':'
>>
+(qi::char_ - (qi::cntrl | qi::space))
@@ -91,7 +91,7 @@ namespace boost { namespace network { namespace uri {
qi::rule<iterator, string_type::value_type()> reserved = gen_delims | sub_delims;
qi::rule<iterator, string_type::value_type()> unreserved = qi::alnum | qi::char_("-._~");
- qi::rule<iterator, string_type()> pct_encoded = qi::char_("%") > qi::repeat(2)[qi::xdigit];
+ qi::rule<iterator, string_type()> pct_encoded = qi::char_("%") >> qi::repeat(2)[qi::xdigit];
qi::rule<iterator, string_type()> pchar = qi::raw[unreserved | pct_encoded | sub_delims | qi::char_(":@")];
@@ -103,7 +103,7 @@ namespace boost { namespace network { namespace uri {
>> -qi::lexeme[qi::raw[*(unreserved | pct_encoded | sub_delims | qi::char_(":"))] >> '@']
>> hostname
>> -qi::lexeme[':' >> qi::ushort_]
- >> -qi::lexeme['/' > qi::raw[*pchar >> *('/' > *pchar)]]
+ >> -qi::lexeme['/' >> qi::raw[*pchar >> *('/' >> *pchar)]]
>> -qi::lexeme['?' >> qi::raw[*(pchar | qi::char_("/?"))]]
>> -qi::lexeme['#' >> qi::raw[*(pchar | qi::char_("/?"))]]
),

0 comments on commit fce4924

Please sign in to comment.