@@ -54,7 +54,7 @@ namespace tao_json_pegtl
5454 struct status_code : rep< 3 , DIGIT > {};
5555 struct reason_phrase : star< sor< VCHAR, obs_text, WSP > > {};
5656
57- struct HTTP_version : if_must< pegtl_string_t ( " HTTP/" ), DIGIT, one< ' .' >, DIGIT > {};
57+ struct HTTP_version : if_must< tao_json_pegtl_string_t ( " HTTP/" ), DIGIT, one< ' .' >, DIGIT > {};
5858
5959 struct request_line : if_must< method, SP, request_target, SP, HTTP_version, CRLF > {};
6060 struct status_line : if_must< HTTP_version, SP, status_code, SP, reason_phrase, CRLF > {};
@@ -78,17 +78,17 @@ namespace tao_json_pegtl
7878
7979 struct transfer_parameter : seq< token, BWS, one< ' =' >, BWS, sor< token, quoted_string > > {};
8080 struct transfer_extension : seq< token, star< OWS, one< ' ;' >, OWS, transfer_parameter > > {};
81- struct transfer_coding : sor< pegtl_istring_t ( " chunked" ),
82- pegtl_istring_t ( " compress" ),
83- pegtl_istring_t ( " deflate" ),
84- pegtl_istring_t ( " gzip" ),
81+ struct transfer_coding : sor< tao_json_pegtl_istring_t ( " chunked" ),
82+ tao_json_pegtl_istring_t ( " compress" ),
83+ tao_json_pegtl_istring_t ( " deflate" ),
84+ tao_json_pegtl_istring_t ( " gzip" ),
8585 transfer_extension > {};
8686
8787 struct rank : sor< seq< one< ' 0' >, opt< one< ' .' >, rep_opt< 3 , DIGIT > > >,
8888 seq< one< ' 1' >, opt< one< ' .' >, rep_opt< 3 , one< ' 0' > > > > > {};
8989
9090 struct t_ranking : seq< OWS, one< ' ;' >, OWS, one< ' q' , ' Q' >, one< ' =' >, rank > {};
91- struct t_codings : sor< pegtl_istring_t ( " trailers" ), seq< transfer_coding, opt< t_ranking > > > {};
91+ struct t_codings : sor< tao_json_pegtl_istring_t ( " trailers" ), seq< transfer_coding, opt< t_ranking > > > {};
9292
9393 struct TE : opt< sor< one< ' ,' >, t_codings >, star< OWS, one< ' ,' >, opt< OWS, t_codings > > > {};
9494
@@ -116,8 +116,8 @@ namespace tao_json_pegtl
116116
117117 struct Via : make_comma_list< seq< received_protocol, RWS, received_by, opt< RWS, comment > > > {};
118118
119- struct http_URI : if_must< pegtl_istring_t ( " http://" ), uri::authority, uri::path_abempty, uri::opt_query, uri::opt_fragment > {};
120- struct https_URI : if_must< pegtl_istring_t ( " https://" ), uri::authority, uri::path_abempty, uri::opt_query, uri::opt_fragment > {};
119+ struct http_URI : if_must< tao_json_pegtl_istring_t ( " http://" ), uri::authority, uri::path_abempty, uri::opt_query, uri::opt_fragment > {};
120+ struct https_URI : if_must< tao_json_pegtl_istring_t ( " https://" ), uri::authority, uri::path_abempty, uri::opt_query, uri::opt_fragment > {};
121121
122122 struct partial_URI : seq< uri::relative_part, uri::opt_query > {};
123123
0 commit comments