summaryrefslogtreecommitdiffstats
path: root/src/uscxml/util
diff options
context:
space:
mode:
authorJens Heuschkel <heuschkel@tk.tu-darmstadt.de>2016-11-17 17:00:41 (GMT)
committerJens Heuschkel <heuschkel@tk.tu-darmstadt.de>2016-11-17 17:00:41 (GMT)
commita7c2510fc1af06fa98bb7434bf3065fe71bb5afd (patch)
tree89b786a4e44cc08cd37db46ed699d5bf2a8d36da /src/uscxml/util
parent8756dd45ef6a245f30eb23b678ca6d4f6ddab917 (diff)
downloaduscxml-a7c2510fc1af06fa98bb7434bf3065fe71bb5afd.zip
uscxml-a7c2510fc1af06fa98bb7434bf3065fe71bb5afd.tar.gz
uscxml-a7c2510fc1af06fa98bb7434bf3065fe71bb5afd.tar.bz2
fix silly error -.-
Diffstat (limited to 'src/uscxml/util')
-rw-r--r--src/uscxml/util/String.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/uscxml/util/String.cpp b/src/uscxml/util/String.cpp
index 894148d..7c89230 100644
--- a/src/uscxml/util/String.cpp
+++ b/src/uscxml/util/String.cpp
@@ -33,20 +33,20 @@ std::string macro_escaped(std::string const& s) {
returnValue += c;
}
else {
- returnValue += '__';
+ returnValue += "__";
switch(c) {
- case '"': returnValue += 'COLON'; break;
- case '\\': returnValue += 'BACHSLASH'; break;
- case '\t': returnValue += 'TAB'; break;
- case '\r': returnValue += 'RETURN'; break;
- case '\n': returnValue += 'NEWLINE'; break;
+ case '"': returnValue += "COLON"; break;
+ case '\\': returnValue += "BACHSLASH"; break;
+ case '\t': returnValue += "TAB"; break;
+ case '\r': returnValue += "RETURN"; break;
+ case '\n': returnValue += "NEWLINE"; break;
default:
char const* const hexdig = "0123456789ABCDEF";
returnValue += 'x';
returnValue += hexdig[c >> 4];
returnValue += hexdig[c & 0xF];
}
- returnValue += '__';
+ returnValue += "__";
}
}
return returnValue;