Browse Source

BUG: Fix escaping to make OSX work again

Andy Cedilnik 20 years ago
parent
commit
9e9b6a8354
1 changed files with 3 additions and 1 deletions
  1. 3 1
      Source/cmCommandArgumentParserHelper.cxx

+ 3 - 1
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;