summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/uscxml/util/String.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/uscxml/util/String.cpp b/src/uscxml/util/String.cpp
index 24c7d42..f189140 100644
--- a/src/uscxml/util/String.cpp
+++ b/src/uscxml/util/String.cpp
@@ -34,7 +34,7 @@ std::string escapedMacro(std::string const& s) {
returnValue += c;
}
else {
- returnValue += "__";
+ returnValue += "_";
switch(c) {
case '"': returnValue += "COLON"; break;
case '\\': returnValue += "BACHSLASH"; break;
@@ -47,7 +47,7 @@ std::string escapedMacro(std::string const& s) {
returnValue += hexdig[c >> 4];
returnValue += hexdig[c & 0xF];
}
- returnValue += "__";
+ returnValue += "_";
}
}
return returnValue;