From fdac089f895785786bcd200cd48044a75b81554f Mon Sep 17 00:00:00 2001 From: Andrei Pavel Date: Thu, 2 Oct 2025 13:47:48 +0300 Subject: [PATCH] [#4082] Add LC_ALL=en_US to tools/extract_bnf.sh MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit To prevent epsilons (ε) from appearing in the grammar. --- tools/extract_bnf.sh.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/extract_bnf.sh.in b/tools/extract_bnf.sh.in index 17c601725d..151bdf5049 100755 --- a/tools/extract_bnf.sh.in +++ b/tools/extract_bnf.sh.in @@ -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 -- 2.47.3