summaryrefslogtreecommitdiffstats
path: root/Utilities/Scripts
diff options
context:
space:
mode:
authorChristoph GrĂ¼ninger <foss@grueninger.de>2021-01-22 14:00:36 (GMT)
committerBrad King <brad.king@kitware.com>2021-01-25 17:05:36 (GMT)
commitc95442b9b143b8fcd9af5831f1562f447302ef10 (patch)
tree14769b36df6662da5fdbe8af8af0c60bc07beda2 /Utilities/Scripts
parent5a8a61a798c8ab915ec3cb0b05e108a0d5266254 (diff)
downloadCMake-c95442b9b143b8fcd9af5831f1562f447302ef10.zip
CMake-c95442b9b143b8fcd9af5831f1562f447302ef10.tar.gz
CMake-c95442b9b143b8fcd9af5831f1562f447302ef10.tar.bz2
LexerParser: Manual removing code from Bison is no longer needed
This was needed to avoid warnings while compiling the sources generated by older versions of GNU Bison, but is not with GNU Bison 3.7.4.
Diffstat (limited to 'Utilities/Scripts')
-rwxr-xr-xUtilities/Scripts/regenerate-parsers.bash5
1 files changed, 0 insertions, 5 deletions
diff --git a/Utilities/Scripts/regenerate-parsers.bash b/Utilities/Scripts/regenerate-parsers.bash
index 964ed0e..33b59f7 100755
--- a/Utilities/Scripts/regenerate-parsers.bash
+++ b/Utilities/Scripts/regenerate-parsers.bash
@@ -23,11 +23,6 @@ do
if [[ (${in_file} -nt ${cxx_file}) || (${in_file} -nt ${h_file}) || (${forced} -gt 0) ]]; then
echo "Generating Parser ${parser}"
bison --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}
else
echo "Skipped generating Parser ${parser}"
fi