diff options
author | Christoph GrĂ¼ninger <foss@grueninger.de> | 2021-01-22 14:53:41 +0100 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2021-01-25 12:05:20 -0500 |
commit | 5a8a61a798c8ab915ec3cb0b05e108a0d5266254 (patch) | |
tree | 96d55068c80d601f36fc09ab81e48c40ce393de5 /Utilities | |
parent | 4f9228a3001dd104a19c5eced3dcb36eef7102f4 (diff) | |
download | cmake-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')
-rwxr-xr-x | Utilities/Scripts/regenerate-parsers.bash | 2 |
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\ |