summaryrefslogtreecommitdiffstats
path: root/Source/cmCommandArgumentParserHelper.cxx
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2005-06-21 15:01:24 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2005-06-21 15:01:24 (GMT)
commit9e9b6a8354de56a1db5c642c378b94c2de102e88 (patch)
tree026bbb718f5f3386c3a0d88b497add55e49e30fc /Source/cmCommandArgumentParserHelper.cxx
parent05f5f379a7bb181dfdf6cae3243006e8dcb57c00 (diff)
downloadCMake-9e9b6a8354de56a1db5c642c378b94c2de102e88.zip
CMake-9e9b6a8354de56a1db5c642c378b94c2de102e88.tar.gz
CMake-9e9b6a8354de56a1db5c642c378b94c2de102e88.tar.bz2
BUG: Fix escaping to make OSX work again
Diffstat (limited to 'Source/cmCommandArgumentParserHelper.cxx')
-rw-r--r--Source/cmCommandArgumentParserHelper.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/cmCommandArgumentParserHelper.cxx b/Source/cmCommandArgumentParserHelper.cxx
index 85741b0..a9d2b1c 100644
--- a/Source/cmCommandArgumentParserHelper.cxx
+++ b/Source/cmCommandArgumentParserHelper.cxx
@@ -168,9 +168,11 @@ bool cmCommandArgumentParserHelper::HandleEscapeSymbol(cmCommandArgumentParserHe
case ')':
case '$':
case '^':
- case ';':
this->AllocateParserType(pt, &symbol, 1);
break;
+ case ';':
+ this->AllocateParserType(pt, "\\;", 2);
+ break;
case 't':
this->AllocateParserType(pt, "\t", 1);
break;