summaryrefslogtreecommitdiffstats
path: root/Source/cmCommandArgumentParserHelper.cxx
diff options
context:
space:
mode:
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;