diff options
author | Brad King <brad.king@kitware.com> | 2007-06-06 20:20:02 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2007-06-06 20:20:02 (GMT) |
commit | db0f26e85264b47dabaa1d400ad2fec1eb848eac (patch) | |
tree | 9a1077fe904c820fa6ec3a4bb7af33a18ce03714 /Source/cmCommandArgumentParserHelper.h | |
parent | d016b69af3304965f4ce7fd1953e9901def528a4 (diff) | |
download | CMake-db0f26e85264b47dabaa1d400ad2fec1eb848eac.zip CMake-db0f26e85264b47dabaa1d400ad2fec1eb848eac.tar.gz CMake-db0f26e85264b47dabaa1d400ad2fec1eb848eac.tar.bz2 |
BUG: Fixed @ONLY configuration to not try to parse ${} syntax at all. This fixes the original fix to bug#4393 and adds a test.
Diffstat (limited to 'Source/cmCommandArgumentParserHelper.h')
-rw-r--r-- | Source/cmCommandArgumentParserHelper.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Source/cmCommandArgumentParserHelper.h b/Source/cmCommandArgumentParserHelper.h index d49952a..c5cfc1e 100644 --- a/Source/cmCommandArgumentParserHelper.h +++ b/Source/cmCommandArgumentParserHelper.h @@ -58,7 +58,7 @@ public: char* CombineUnions(char* in1, char* in2); char* ExpandSpecialVariable(const char* key, const char* var); - char* ExpandVariable(const char* var, bool doingAt=false); + char* ExpandVariable(const char* var); char* ExpandVariableForAt(const char* var); void SetResult(const char* value); @@ -71,7 +71,6 @@ public: void SetNoEscapeMode(bool b) { this->NoEscapeMode = b; } void SetReplaceAtSyntax(bool b) { this->ReplaceAtSyntax = b; } void SetRemoveEmpty(bool b) { this->RemoveEmpty = b; } - void SetAtOnly(bool b) { this->AtOnly = b; } const char* GetError() { return this->ErrorString.c_str(); } char EmptyVariable[1]; @@ -107,7 +106,6 @@ private: bool NoEscapeMode; bool ReplaceAtSyntax; bool RemoveEmpty; - bool AtOnly; }; #endif |