Skip to content

Commit

Permalink
Update generated parser code
Browse files Browse the repository at this point in the history
  • Loading branch information
evanmiller committed Oct 24, 2020
1 parent 4bd3ede commit bf8cb17
Showing 1 changed file with 6 additions and 14 deletions.
20 changes: 6 additions & 14 deletions ngx_http_zip_parsers.c
Original file line number Diff line number Diff line change
Expand Up @@ -334,11 +334,7 @@ ngx_http_zip_parse_request(ngx_http_zip_ctx_t *ctx)
/* suppress warning */
(void)request_en_main;

if (cs <
#line 339 "ngx_http_zip_parsers.c"
11
#line 150 "ngx_http_zip_parsers.rl"
) {
if (cs < 11) {
return NGX_ERROR;
}

Expand All @@ -348,7 +344,7 @@ ngx_http_zip_parse_request(ngx_http_zip_ctx_t *ctx)
}


#line 352 "ngx_http_zip_parsers.c"
#line 348 "ngx_http_zip_parsers.c"
static const char _range_actions[] = {
0, 1, 0, 1, 1, 1, 2, 2,
0, 1, 2, 3, 1
Expand Down Expand Up @@ -412,12 +408,12 @@ ngx_http_zip_parse_range(ngx_http_request_t *r, ngx_str_t *range_str, ngx_http_z
u_char *pe = range_str->data + range_str->len;


#line 416 "ngx_http_zip_parsers.c"
#line 412 "ngx_http_zip_parsers.c"
{
cs = range_start;
}

#line 421 "ngx_http_zip_parsers.c"
#line 417 "ngx_http_zip_parsers.c"
{
int _klen;
unsigned int _trans;
Expand Down Expand Up @@ -518,7 +514,7 @@ ngx_http_zip_parse_range(ngx_http_request_t *r, ngx_str_t *range_str, ngx_http_z
#line 192 "ngx_http_zip_parsers.rl"
{ suffix = 1; }
break;
#line 522 "ngx_http_zip_parsers.c"
#line 518 "ngx_http_zip_parsers.c"
}
}

Expand All @@ -537,11 +533,7 @@ ngx_http_zip_parse_range(ngx_http_request_t *r, ngx_str_t *range_str, ngx_http_z
/* suppress warning */
(void)range_en_main;

if (cs <
#line 542 "ngx_http_zip_parsers.c"
10
#line 210 "ngx_http_zip_parsers.rl"
) {
if (cs < 10) {
return NGX_ERROR;
}

Expand Down

0 comments on commit bf8cb17

Please sign in to comment.