diff options
author | Brad King <brad.king@kitware.com> | 2018-07-16 15:12:34 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2018-07-16 15:12:34 (GMT) |
commit | 185bcface43d95b062c5be16321ae9aa59ed0057 (patch) | |
tree | 7b111fd39867cfd79ddaec7b8dd721ea114863d6 /Source | |
parent | de342066d342312e14aee767e6a1c2b573e80dc2 (diff) | |
download | CMake-185bcface43d95b062c5be16321ae9aa59ed0057.zip CMake-185bcface43d95b062c5be16321ae9aa59ed0057.tar.gz CMake-185bcface43d95b062c5be16321ae9aa59ed0057.tar.bz2 |
cmExprParserHelper: Remove some unused code
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmExprParserHelper.cxx | 9 | ||||
-rw-r--r-- | Source/cmExprParserHelper.h | 1 |
2 files changed, 0 insertions, 10 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 "; diff --git a/Source/cmExprParserHelper.h b/Source/cmExprParserHelper.h index d4d95b4..15e8f3e 100644 --- a/Source/cmExprParserHelper.h +++ b/Source/cmExprParserHelper.h @@ -41,7 +41,6 @@ private: void Print(const char* place, const char* str); - void CleanupParser(); void SetError(std::string errorString); KWIML_INT_int64_t Result; |