plcopen/structures.py
changeset 1853 47a3f39bead0
parent 1847 6198190bc121
child 1878 fb73a6b6622d
equal deleted inserted replaced
1852:70c1cc354a8f 1853:47a3f39bead0
    20 #
    20 #
    21 # You should have received a copy of the GNU General Public License
    21 # You should have received a copy of the GNU General Public License
    22 # along with this program; if not, write to the Free Software
    22 # along with this program; if not, write to the Free Software
    23 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
    23 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
    24 
    24 
       
    25 
       
    26 from __future__ import absolute_import
    25 import string
    27 import string
    26 import re
    28 import re
    27 from collections import OrderedDict
    29 from collections import OrderedDict
    28 
    30 
    29 from plcopen import LoadProject
    31 from plcopen.plcopen import LoadProject
    30 from definitions import *
    32 from plcopen.definitions import *
    31 
    33 
    32 TypeHierarchy = dict(TypeHierarchy_list)
    34 TypeHierarchy = dict(TypeHierarchy_list)
    33 
    35 
    34 
    36 
    35 def IsOfType(type, reference):
    37 def IsOfType(type, reference):