commit | e3b57bf92f279b56ed78d8ca55ff0b637e46755c | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Fri Feb 14 16:50:14 2020 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Fri Feb 14 19:02:06 2020 +0100 |
tree | 0790729f465e94f3d0978c487c3e60f27183173e | |
parent | ef21facd9953e44e0410aefb865963dcb66020b9 [diff] |
MINOR: sample: make sample_parse_expr() able to return an end pointer When an end pointer is passed, instead of complaining that a comma is missing after a keyword, sample_parse_expr() will silently return the pointer to the current location into this return pointer so that the caller can continue its parsing. This will be used by more complex expressions which embed sample expressions, and may even permit to embed sample expressions into arguments of other expressions.