]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#4082] Add LC_ALL=en_US to tools/extract_bnf.sh
authorAndrei Pavel <andrei@isc.org>
Thu, 2 Oct 2025 10:47:48 +0000 (13:47 +0300)
committerAndrei Pavel <andrei@isc.org>
Tue, 7 Oct 2025 09:57:15 +0000 (12:57 +0300)
To prevent epsilons (ε) from appearing in the grammar.

tools/extract_bnf.sh.in

index 17c601725d1e9ffd13cee82ed6c98d7306ad2a63..151bdf50491cd093afb7e1a701900ef7e9c0ad36 100755 (executable)
@@ -39,7 +39,7 @@ if [ -f "${base}.yy" ]; then
     # bison may produce language specific wording (like "symbole terminalne"
     # if you system is set to Polish, rather than "Terminals") and this will
     # confuse our script.
-    LANG=en_US LANGUAGE=en_US @YACC@ -v "${base}.yy" -o output
+    LANG=en_US LANGUAGE=en_US LC_ALL=en_US @YACC@ -v "${base}.yy" -o output
     rm -f output output.h ./*.hh
     mv output.output /tmp/output
     output=/tmp/output