From: Willy Tarreau Date: Wed, 7 Oct 2026 15:29:21 +0000 (+0200) Subject: CLEANUP: cfgparse-global: ask not to add new keywords in common_kw_list[] X-Git-Tag: v3.5-dev9~139 X-Git-Url: https://git.kaiwu.me/?a=commitdiff_plain;h=3b6d6020c5283d107dbcb755ac81c98931e27f7c;p=haproxy.git CLEANUP: cfgparse-global: ask not to add new keywords in common_kw_list[] Better discourage new keywords from being added again to the remaining list, which currently still contains a few section names that are not discovered otherwise. We just add a comment. --- diff --git a/src/cfgparse-global.c b/src/cfgparse-global.c index 1efc372ac..af9c6155e 100644 --- a/src/cfgparse-global.c +++ b/src/cfgparse-global.c @@ -34,6 +34,7 @@ int cluster_secret_isset; /* some keywords that are still being parsed using strcmp() and are not * registered anywhere. They are used as suggestions for mistyped words. + * DO NOT ADD ANY NEW KEYWORDS HERE, THAT MUST NO LONGER BE NECESSARY! */ static const char *common_kw_list[] = { "global",