diff options
author | Brad King <brad.king@kitware.com> | 2003-07-09 21:17:34 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2003-07-09 21:17:34 (GMT) |
commit | 40c156dead1a5b894c63033ef58877d064cbd670 (patch) | |
tree | d2e5bf8b1dfbef3a0a39d384681a1eaa803d631b /Source/cmSystemTools.cxx | |
parent | 36880845b66fbe9062fb9e72b703a14dfb2c2036 (diff) | |
download | CMake-40c156dead1a5b894c63033ef58877d064cbd670.zip CMake-40c156dead1a5b894c63033ef58877d064cbd670.tar.gz CMake-40c156dead1a5b894c63033ef58877d064cbd670.tar.bz2 |
ENH: Added support for # characters inside quoted arguments and for escaping # in a non-quoted argument. Improved parsing speed by not compiling regular expressions on blank lines.
Diffstat (limited to 'Source/cmSystemTools.cxx')
-rw-r--r-- | Source/cmSystemTools.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmSystemTools.cxx b/Source/cmSystemTools.cxx index ecdfb48..7091438 100644 --- a/Source/cmSystemTools.cxx +++ b/Source/cmSystemTools.cxx @@ -164,6 +164,7 @@ std::string cmSystemTools::RemoveEscapes(const char* s) case 't': result.insert(result.end(), '\t'); break; case 'n': result.insert(result.end(), '\n'); break; case 'r': result.insert(result.end(), '\r'); break; + case '#': result.insert(result.end(), '#'); break; case '0': result.insert(result.end(), '\0'); break; case '\0': { |