changeset 1320 | bb04c41cbee9 |
parent 1313 | 85c167bfff93 |
child 1330 | 96b242e4c59d |
--- 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 = {} +StdBlckDct = OrderedDict() for section in StdBlckLst: for desc in section["list"]: