mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-10-04 04:03:22 +03:00
cmExprParserHelper: Remove some unused code
This commit is contained in:
1 parent
de342066d3
commit
185bcface4
2 files changed
-10
No files matched your search
@@ -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 ";
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user