summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2003-07-09 21:25:24 (GMT)
committerBrad King <brad.king@kitware.com>2003-07-09 21:25:24 (GMT)
commita6fd6a0bae63c72b482d3a54342c7f92bc4d5917 (patch)
treee3e3df75d20f826418430fc5b83358310ecea5ef
parent40c156dead1a5b894c63033ef58877d064cbd670 (diff)
downloadCMake-a6fd6a0bae63c72b482d3a54342c7f92bc4d5917.zip
CMake-a6fd6a0bae63c72b482d3a54342c7f92bc4d5917.tar.gz
CMake-a6fd6a0bae63c72b482d3a54342c7f92bc4d5917.tar.bz2
ENH: Added escape support for ( and ).
-rw-r--r--Source/cmSystemTools.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmSystemTools.cxx b/Source/cmSystemTools.cxx
index 7091438..dd75b8c 100644
--- a/Source/cmSystemTools.cxx
+++ b/Source/cmSystemTools.cxx
@@ -165,6 +165,8 @@ std::string cmSystemTools::RemoveEscapes(const char* s)
case 'n': result.insert(result.end(), '\n'); break;
case 'r': result.insert(result.end(), '\r'); break;
case '#': result.insert(result.end(), '#'); break;
+ case '(': result.insert(result.end(), '('); break;
+ case ')': result.insert(result.end(), ')'); break;
case '0': result.insert(result.end(), '\0'); break;
case '\0':
{