summaryrefslogtreecommitdiffstats
path: root/Source/cmCommandArgumentParserHelper.h
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2005-06-14 19:49:30 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2005-06-14 19:49:30 (GMT)
commitd797ba2c7e86acd71daf40f1cb11b2a23571eb81 (patch)
tree17f3f546232d2ce0f78d49051efcc455ddb240c7 /Source/cmCommandArgumentParserHelper.h
parent307b01002d15e874f85101df269518786ade991c (diff)
downloadCMake-d797ba2c7e86acd71daf40f1cb11b2a23571eb81.zip
CMake-d797ba2c7e86acd71daf40f1cb11b2a23571eb81.tar.gz
CMake-d797ba2c7e86acd71daf40f1cb11b2a23571eb81.tar.bz2
ENH: More cleanups
Diffstat (limited to 'Source/cmCommandArgumentParserHelper.h')
-rw-r--r--Source/cmCommandArgumentParserHelper.h22
1 files changed, 1 insertions, 21 deletions
diff --git a/Source/cmCommandArgumentParserHelper.h b/Source/cmCommandArgumentParserHelper.h
index f82d432..3ecde79 100644
--- a/Source/cmCommandArgumentParserHelper.h
+++ b/Source/cmCommandArgumentParserHelper.h
@@ -43,7 +43,6 @@ public:
~cmCommandArgumentParserHelper();
int ParseString(const char* str, int verb);
- int ParseFile(const char* file);
// For the lexer:
void AllocateParserType(cmCommandArgumentParserHelper::ParserType* pt,
@@ -53,17 +52,6 @@ public:
void Error(const char* str);
// For yacc
- void AddClassFound(const char* sclass);
- void PrepareElement(ParserType* opt);
- void DeallocateParserType(char** pt);
- void CheckEmpty(int line, int cnt, ParserType* pt);
- void StartClass(const char* cls);
- void EndClass();
- void AddPackagesImport(const char* sclass);
- void SetCurrentCombine(const char* cmb) { this->CurrentCombine = cmb; }
- const char* GetCurrentCombine() { return this->CurrentCombine.c_str(); }
- void UpdateCombine(const char* str1, const char* str2);
- void Append(const char* str);
char* CombineUnions(char* in1, char* in2);
char* ExpandSpecialVariable(const char* key, const char* var);
@@ -95,11 +83,6 @@ private:
int UnionsAvailable;
int Verbose;
- std::vector<char*> Allocates;
- std::string CurrentCombine;
-
- void PrintClasses();
-
void Print(const char* place, const char* str);
void SafePrintMissing(const char* str, int line, int cnt);
@@ -107,16 +90,13 @@ private:
void CleanupParser();
- std::set<char*> m_Variables;
+ std::vector<char*> m_Variables;
const cmMakefile* m_Makefile;
std::string m_Result;
const char* m_FileName;
long m_FileLine;
-
bool m_EscapeQuotes;
-
std::string m_Error;
-
};
#endif