commit | 678ab5f5e2aae9536a18f38e311a5b7abf099ef3 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Fri Sep 03 10:12:55 2021 +0200 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Thu Sep 23 17:20:17 2021 +0200 |
tree | 59dbc956fee6a3bfccca78a4007910ee5749b891 | |
parent | a59858fe2410c07670b7a2d00f4c0e1aa9a67bf1 [diff] |
BUG/MINOR: vars: truncate the variable name in error reports about scope. When a variable starts with the wrong scope, it is named without stripping the extra characters that follow it, which usually are closing parenthesis. Let's make sure we only report what is expected. This may be backported to 2.4. (cherry picked from commit 1402fef58aedbac671dd81b4ac93dc7008fcde50) Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>