--- a/plcopen/structures.py Wed Sep 18 15:30:46 2013 +0200
+++ b/plcopen/structures.py Wed Sep 18 15:31:38 2013 +0200
@@ -24,6 +24,7 @@
import string, os, sys, re
from plcopen import LoadProject
+from collections import OrderedDict LANGUAGES = ["IL","ST","FBD","LD","SFC"]
@@ -418,7 +419,7 @@
StdBlckLst.extend(std_decl)
# Dictionary to speedup block type fetching by name
+StdBlckDct = OrderedDict() for section in StdBlckLst:
for desc in section["list"]: