summaryrefslogtreecommitdiffstats
path: root/Source/cmExprParserHelper.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2018-07-16 15:12:34 (GMT)
committerBrad King <brad.king@kitware.com>2018-07-16 15:12:34 (GMT)
commit185bcface43d95b062c5be16321ae9aa59ed0057 (patch)
tree7b111fd39867cfd79ddaec7b8dd721ea114863d6 /Source/cmExprParserHelper.cxx
parentde342066d342312e14aee767e6a1c2b573e80dc2 (diff)
downloadCMake-185bcface43d95b062c5be16321ae9aa59ed0057.zip
CMake-185bcface43d95b062c5be16321ae9aa59ed0057.tar.gz
CMake-185bcface43d95b062c5be16321ae9aa59ed0057.tar.bz2
cmExprParserHelper: Remove some unused code
Diffstat (limited to 'Source/cmExprParserHelper.cxx')
-rw-r--r--Source/cmExprParserHelper.cxx9
1 files changed, 0 insertions, 9 deletions
diff --git a/Source/cmExprParserHelper.cxx b/Source/cmExprParserHelper.cxx
index d90d8b9..1f38d33 100644
--- a/Source/cmExprParserHelper.cxx
+++ b/Source/cmExprParserHelper.cxx
@@ -20,7 +20,6 @@ cmExprParserHelper::cmExprParserHelper()
cmExprParserHelper::~cmExprParserHelper()
{
- this->CleanupParser();
}
int cmExprParserHelper::ParseString(const char* str, int verb)
@@ -69,13 +68,9 @@ int cmExprParserHelper::ParseString(const char* str, int verb)
}
cmExpr_yylex_destroy(yyscanner);
if (res != 0) {
- // str << "CAL_Parser returned: " << res << std::endl;
- // std::cerr << "When parsing: [" << str << "]" << std::endl;
return 0;
}
- this->CleanupParser();
-
if (Verbose) {
std::cerr << "Expanding [" << str << "] produced: [" << this->Result << "]"
<< std::endl;
@@ -83,10 +78,6 @@ int cmExprParserHelper::ParseString(const char* str, int verb)
return 1;
}
-void cmExprParserHelper::CleanupParser()
-{
-}
-
int cmExprParserHelper::LexInput(char* buf, int maxlen)
{
// std::cout << "JPLexInput ";