summaryrefslogtreecommitdiff
path: root/Utilities/Scripts
diff options
context:
space:
mode:
authorChristoph GrĂ¼ninger <foss@grueninger.de>2021-01-22 14:53:41 +0100
committerBrad King <brad.king@kitware.com>2021-01-25 12:05:20 -0500
commit5a8a61a798c8ab915ec3cb0b05e108a0d5266254 (patch)
tree96d55068c80d601f36fc09ab81e48c40ce393de5 /Utilities/Scripts
parent4f9228a3001dd104a19c5eced3dcb36eef7102f4 (diff)
downloadcmake-5a8a61a798c8ab915ec3cb0b05e108a0d5266254.tar.gz
LexerParser: Do not use GNU Bison's yacc mode, we use Bison extensions
Silence Bison warnings regarding use of Bison extensions.
Diffstat (limited to 'Utilities/Scripts')
-rwxr-xr-xUtilities/Scripts/regenerate-parsers.bash2
1 files changed, 1 insertions, 1 deletions
diff --git a/Utilities/Scripts/regenerate-parsers.bash b/Utilities/Scripts/regenerate-parsers.bash
index 6fb35c028c..964ed0e1e8 100755
--- a/Utilities/Scripts/regenerate-parsers.bash
+++ b/Utilities/Scripts/regenerate-parsers.bash
@@ -22,7 +22,7 @@ do
if [[ (${in_file} -nt ${cxx_file}) || (${in_file} -nt ${h_file}) || (${forced} -gt 0) ]]; then
echo "Generating Parser ${parser}"
- bison --yacc --name-prefix=${prefix} --defines=${h_file} -o${cxx_file} ${in_file}
+ bison --name-prefix=${prefix} --defines=${h_file} -o${cxx_file} ${in_file}
sed -i '/\/\* Else will try to reuse/ i\
#if 0
/^yyerrlab1:/ a\