From e26657103fa95b2a898e438ec6eb982a3c0bf3cc Mon Sep 17 00:00:00 2001 From: "Yury G. Kudryashov" Date: Wed, 29 Feb 2012 17:44:02 +0400 Subject: Remove UnionsAvailable member from 2 classes These classes were copied from cmDependsJavaParserHelper that really needs this member. --- Source/cmCommandArgumentParserHelper.h | 1 - Source/cmExprParserHelper.h | 1 - 2 files changed, 2 deletions(-) diff --git a/Source/cmCommandArgumentParserHelper.h b/Source/cmCommandArgumentParserHelper.h index a211e95..cdb832b 100644 --- a/Source/cmCommandArgumentParserHelper.h +++ b/Source/cmCommandArgumentParserHelper.h @@ -81,7 +81,6 @@ private: cmStdString InputBuffer; std::vector OutputBuffer; int CurrentLine; - int UnionsAvailable; int Verbose; void Print(const char* place, const char* str); diff --git a/Source/cmExprParserHelper.h b/Source/cmExprParserHelper.h index 0c36b44..f3fd4f6 100644 --- a/Source/cmExprParserHelper.h +++ b/Source/cmExprParserHelper.h @@ -55,7 +55,6 @@ private: cmStdString InputBuffer; std::vector OutputBuffer; int CurrentLine; - int UnionsAvailable; int Verbose; void Print(const char* place, const char* str); -- cgit v0.12 From aef248a4ff675aeb4af6aa44322bed76f4bcf990 Mon Sep 17 00:00:00 2001 From: "Yury G. Kudryashov" Date: Wed, 29 Feb 2012 21:56:13 +0400 Subject: Remove cmExprParserHelper::SetLineFile() --- Source/cmExprParserHelper.cxx | 6 ------ Source/cmExprParserHelper.h | 2 -- 2 files changed, 8 deletions(-) diff --git a/Source/cmExprParserHelper.cxx b/Source/cmExprParserHelper.cxx index ee37352..7728d74 100644 --- a/Source/cmExprParserHelper.cxx +++ b/Source/cmExprParserHelper.cxx @@ -30,12 +30,6 @@ cmExprParserHelper::~cmExprParserHelper() this->CleanupParser(); } -void cmExprParserHelper::SetLineFile(long line, const char* file) -{ - this->FileLine = line; - this->FileName = file; -} - int cmExprParserHelper::ParseString(const char* str, int verb) { if ( !str) diff --git a/Source/cmExprParserHelper.h b/Source/cmExprParserHelper.h index f3fd4f6..690426d 100644 --- a/Source/cmExprParserHelper.h +++ b/Source/cmExprParserHelper.h @@ -46,8 +46,6 @@ public: int GetResult() { return this->Result; } - void SetLineFile(long line, const char* file); - const char* GetError() { return this->ErrorString.c_str(); } private: -- cgit v0.12