author | Laurent Bessard |
Wed, 18 Sep 2013 15:31:38 +0200 | |
changeset 1320 | bb04c41cbee9 |
parent 1319 | 748347102c97 |
child 1321 | 83f41ea00b97 |
--- 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"]: