Bug with functions and transitions not recognizing their name in ST/IL fixed
authorlbessard
Thu, 09 Apr 2009 15:36:37 +0200
changeset 342 25e093542b40
parent 341 88030497e29e
child 343 dc8ff76b39fd
Bug with functions and transitions not recognizing their name in ST/IL fixed
TextViewer.py
--- a/TextViewer.py	Thu Apr 09 15:34:35 2009 +0200
+++ b/TextViewer.py	Thu Apr 09 15:36:37 2009 +0200
@@ -276,7 +276,7 @@
         
         self.Variables = self.GenerateVariableTree([(variable["Name"], variable["Type"], variable["Tree"]) for variable in self.Controler.GetEditedElementInterfaceVars(self.TagName, self.Debug)])
         if self.Controler.GetEditedElementType(self.TagName, self.Debug)[1] == "function" or words[0] == "T" and self.TextSyntax == "IL":
-            self.Variables[words[-1]] = {}
+            self.Variables[words[-1].upper()] = {}
         
         self.Functions = []
         for category in self.Controler.GetBlockTypes(self.TagName, self.Debug):