summaryrefslogtreecommitdiff
path: root/BCT/BytecodeTranslator/TranslationPlugins/Translators/PhoneFeedbackTranslator.cs
diff options
context:
space:
mode:
authorGravatar Mike Barnett <mbarnett@microsoft.com>2011-10-31 15:09:08 -0700
committerGravatar Mike Barnett <mbarnett@microsoft.com>2011-10-31 15:09:08 -0700
commit7c799c6f3536e873327213d74d01e7f1235b3ca8 (patch)
treec29b287559838cc6cc51604fd36b0768be9b7e40 /BCT/BytecodeTranslator/TranslationPlugins/Translators/PhoneFeedbackTranslator.cs
parent36be8fc06b5d08fcf023a9b095a9ee948afcb94d (diff)
Major changes to the translator traversers because they now are based on the
new traversers. (The old ones have been marked as obsolete.) All types are now encoded as "datatypes" in Boogie. So non-generic types are nullary functions and generic types just have at least one type argument. Lots of other fixes: string encoding of names is now done by negating Boogie's regular expression for identifiers, etc.
Diffstat (limited to 'BCT/BytecodeTranslator/TranslationPlugins/Translators/PhoneFeedbackTranslator.cs')
-rw-r--r--BCT/BytecodeTranslator/TranslationPlugins/Translators/PhoneFeedbackTranslator.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/BCT/BytecodeTranslator/TranslationPlugins/Translators/PhoneFeedbackTranslator.cs b/BCT/BytecodeTranslator/TranslationPlugins/Translators/PhoneFeedbackTranslator.cs
index f2932ac0..ffd6fe52 100644
--- a/BCT/BytecodeTranslator/TranslationPlugins/Translators/PhoneFeedbackTranslator.cs
+++ b/BCT/BytecodeTranslator/TranslationPlugins/Translators/PhoneFeedbackTranslator.cs
@@ -28,7 +28,9 @@ namespace BytecodeTranslator.TranslationPlugins.Translators {
}
public override void TranslateAssemblies(IEnumerable<Microsoft.Cci.IUnit> assemblies) {
- traverser.Visit(assemblies);
+ foreach (var a in assemblies) {
+ traverser.Traverse((IAssembly)a);
+ }
}
}
}