plcopen/structures.py
changeset 1878 fb73a6b6622d
parent 1853 47a3f39bead0
child 2441 c553769a65af
equal deleted inserted replaced
1877:da5f1fa46f2b 1878:fb73a6b6622d
   178 
   178 
   179     Standard_Functions_Decl = []
   179     Standard_Functions_Decl = []
   180     Current_section = None
   180     Current_section = None
   181 
   181 
   182     translate = {
   182     translate = {
   183             "extensible": lambda x: {"yes": True, "no": False}[x],
   183         "extensible": lambda x: {"yes": True, "no": False}[x],
   184             "inputs": lambda x: csv_input_translate(x, variables, baseinputnumber),
   184         "inputs": lambda x: csv_input_translate(x, variables, baseinputnumber),
   185             "outputs": lambda x: [("OUT", x, "none")]}
   185         "outputs": lambda x: [("OUT", x, "none")]}
   186 
   186 
   187     for fields in table:
   187     for fields in table:
   188         if fields[1]:
   188         if fields[1]:
   189             # If function section name given
   189             # If function section name given
   190             if fields[0]:
   190             if fields[0]: