summaryrefslogtreecommitdiffstats
path: root/Utilities
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-01-27 14:05:37 (GMT)
committerKitware Robot <kwrobot@kitware.com>2021-01-27 14:05:43 (GMT)
commit6153bd3a0c3413edf1898164e96b6fa5aebd78c1 (patch)
tree4925defb9ce94575098a46bf3e0e72722fb5c733 /Utilities
parentf39fb0b90de7002d2f66d118669a664540c6be7c (diff)
parent7c6192472be810de2da98bd6a3d03ac6661e24f5 (diff)
downloadCMake-6153bd3a0c3413edf1898164e96b6fa5aebd78c1.zip
CMake-6153bd3a0c3413edf1898164e96b6fa5aebd78c1.tar.gz
CMake-6153bd3a0c3413edf1898164e96b6fa5aebd78c1.tar.bz2
Merge topic 'update-bison-parser'
7c6192472b LexerParser: Suppress -Wused-but-marked-unused warning in cmExprParser 6f64300a01 LexerParser: Clean up includes following include-what-you-use 699d50e376 LexerParser: Regenerate parser files with GNU Bison 3.7.4 c95442b9b1 LexerParser: Manual removing code from Bison is no longer needed 5a8a61a798 LexerParser: Do not use GNU Bison's yacc mode, we use Bison extensions Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5730
Diffstat (limited to 'Utilities')
-rwxr-xr-xUtilities/Scripts/regenerate-parsers.bash7
1 files changed, 1 insertions, 6 deletions
diff --git a/Utilities/Scripts/regenerate-parsers.bash b/Utilities/Scripts/regenerate-parsers.bash
index 6fb35c0..33b59f7 100755
--- a/Utilities/Scripts/regenerate-parsers.bash
+++ b/Utilities/Scripts/regenerate-parsers.bash
@@ -22,12 +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}
- sed -i '/\/\* Else will try to reuse/ i\
-#if 0
-/^yyerrlab1:/ a\
-#endif
-' ${cxx_file}
+ bison --name-prefix=${prefix} --defines=${h_file} -o${cxx_file} ${in_file}
else
echo "Skipped generating Parser ${parser}"
fi