diff options
author | Christoph GrĂ¼ninger <foss@grueninger.de> | 2021-01-22 13:53:41 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2021-01-25 17:05:20 (GMT) |
commit | 5a8a61a798c8ab915ec3cb0b05e108a0d5266254 (patch) | |
tree | 96d55068c80d601f36fc09ab81e48c40ce393de5 /Utilities | |
parent | 4f9228a3001dd104a19c5eced3dcb36eef7102f4 (diff) | |
download | CMake-5a8a61a798c8ab915ec3cb0b05e108a0d5266254.zip CMake-5a8a61a798c8ab915ec3cb0b05e108a0d5266254.tar.gz CMake-5a8a61a798c8ab915ec3cb0b05e108a0d5266254.tar.bz2 |
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 6fb35c0..964ed0e 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\ |