summaryrefslogtreecommitdiff
path: root/BCT
diff options
context:
space:
mode:
authorGravatar qadeer <qadeer@microsoft.com>2011-08-31 10:37:42 -0700
committerGravatar qadeer <qadeer@microsoft.com>2011-08-31 10:37:42 -0700
commit6edcae0cf29328cf15e49c4e58cc6ad4aa6d4720 (patch)
treece86a645640381586b0579240c0a076eead05ac9 /BCT
parent2a6ccca4401ae6c691313337f1552d68836187f6 (diff)
more string mangling
Diffstat (limited to 'BCT')
-rw-r--r--BCT/BytecodeTranslator/TranslationHelper.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/BCT/BytecodeTranslator/TranslationHelper.cs b/BCT/BytecodeTranslator/TranslationHelper.cs
index 335ce6ee..883d0eaf 100644
--- a/BCT/BytecodeTranslator/TranslationHelper.cs
+++ b/BCT/BytecodeTranslator/TranslationHelper.cs
@@ -167,6 +167,8 @@ namespace BytecodeTranslator {
s = s.Replace(']', '$');
s = s.Replace('|', '$');
s = s.Replace('+', '$');
+ s = s.Replace('±', '$');
+ s = s.Replace('√', '$');
s = GetRidOfSurrogateCharacters(s);
return s;