diff options
author | Brad King <brad.king@kitware.com> | 2014-10-30 18:11:48 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2014-10-30 18:11:48 (GMT) |
commit | 2e953c76573b5e146ce77ee807e4b1d2f4f60ed3 (patch) | |
tree | 821d90a09c34b4e572284ccdeedcd813fd850b7d /Source/cmCacheManager.cxx | |
parent | 5c5c1e3c7dee614ab108a8809507a907a629a9d3 (diff) | |
parent | aee7e4a03b8b410212e2eae23d1ecc182c8da817 (diff) | |
download | CMake-2e953c76573b5e146ce77ee807e4b1d2f4f60ed3.zip CMake-2e953c76573b5e146ce77ee807e4b1d2f4f60ed3.tar.gz CMake-2e953c76573b5e146ce77ee807e4b1d2f4f60ed3.tar.bz2 |
Merge topic 'fix--D-command-line-parsing'
aee7e4a0 cmCacheManager: parse -D flags more strictly
368e8de4 Tests: test -D parsing on the command line
Diffstat (limited to 'Source/cmCacheManager.cxx')
-rw-r--r-- | Source/cmCacheManager.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmCacheManager.cxx b/Source/cmCacheManager.cxx index 9fc1a5a..6a47ea7 100644 --- a/Source/cmCacheManager.cxx +++ b/Source/cmCacheManager.cxx @@ -139,7 +139,7 @@ bool cmCacheManager::ParseEntry(const std::string& entry, { // input line is: key:type=value static cmsys::RegularExpression reg( - "^([^:]*):([^=]*)=(.*[^\r\t ]|[\r\t ]*)[\r\t ]*$"); + "^([^=:]*):([^=]*)=(.*[^\r\t ]|[\r\t ]*)[\r\t ]*$"); // input line is: "key":type=value static cmsys::RegularExpression regQuoted( "^\"([^\"]*)\":([^=]*)=(.*[^\r\t ]|[\r\t ]*)[\r\t ]*$"); |