Skip to content

Commit

Permalink
Merge pull request #1 from rrreeeyyy/check-syntax
Browse files Browse the repository at this point in the history
Add parsable directive to `TCP_CHECK` and `HTTP_GET`
  • Loading branch information
yuuki committed Jan 28, 2016
2 parents 99cdab0 + cfca49c commit a4fde51
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions parser/parser.go.y
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,9 @@ tcp_check_statements: tcp_check_statement tcp_check_statements | tcp_check_state
tcp_check_statement: { }
| CONNECT_PORT NUMBER { }
| CONNECT_TIMEOUT NUMBER { }
| RETRY NUMBER { }
| WARMUP NUMBER { }
| DELAY_BEFORE_RETRY NUMBER { }

http_get_statements: http_get_statement http_get_statements | http_get_statement { }

Expand All @@ -218,6 +221,7 @@ http_get_statement: { }
| CONNECT_PORT NUMBER { }
| NB_GET_RETRY NUMBER { }
| DELAY_BEFORE_RETRY NUMBER { }
| WARMUP NUMBER { }

url_statements: url_statement url_statements | url_statement { }

Expand Down

0 comments on commit a4fde51

Please sign in to comment.