summaryrefslogtreecommitdiff
path: root/BCT/PhoneControlsExtractor
diff options
context:
space:
mode:
authorGravatar Unknown <t-espave@A3479886.redmond.corp.microsoft.com>2011-07-20 15:39:28 -0700
committerGravatar Unknown <t-espave@A3479886.redmond.corp.microsoft.com>2011-07-20 15:39:28 -0700
commitf728aa881caee16eaf6b5d25262578d64059f7f2 (patch)
treee285bd6745643945eddd0dbeba8b896a79716726 /BCT/PhoneControlsExtractor
parent912748bde10f4a9db6af6771a6d6861166d49006 (diff)
setting $Exception explicitly to null in phone translation
Diffstat (limited to 'BCT/PhoneControlsExtractor')
-rw-r--r--BCT/PhoneControlsExtractor/PhoneBoogieCodeGenerator.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/BCT/PhoneControlsExtractor/PhoneBoogieCodeGenerator.py b/BCT/PhoneControlsExtractor/PhoneBoogieCodeGenerator.py
index c9a63c92..5c9da941 100644
--- a/BCT/PhoneControlsExtractor/PhoneBoogieCodeGenerator.py
+++ b/BCT/PhoneControlsExtractor/PhoneBoogieCodeGenerator.py
@@ -56,6 +56,7 @@ def outputMainProcedure(file):
file.write("\tvar $isEnabled: bool;\n")
file.write("\tvar $control: Ref;\n\n")
+ file.write("\t$Exception := null;\n")
for i in range(0,len(boogiePageVars)):
file.write("\tcall " + boogiePageClasses[i] + ".#ctor(" + boogiePageVars[i] + ");\n")