equal
deleted
inserted
replaced
497 for blocktype in category["list"]: |
497 for blocktype in category["list"]: |
498 blockname = blocktype["name"].upper() |
498 blockname = blocktype["name"].upper() |
499 if blocktype["type"] == "function" and blockname not in self.Keywords and blockname not in self.Variables.keys(): |
499 if blocktype["type"] == "function" and blockname not in self.Keywords and blockname not in self.Variables.keys(): |
500 interface = dict([(name, {}) for name, type, modifier in blocktype["inputs"] + blocktype["outputs"] if name != '']) |
500 interface = dict([(name, {}) for name, type, modifier in blocktype["inputs"] + blocktype["outputs"] if name != '']) |
501 for param in ["EN", "ENO"]: |
501 for param in ["EN", "ENO"]: |
502 if not param in interface: |
502 if param not in interface: |
503 interface[param] = {} |
503 interface[param] = {} |
504 if blockname in self.Functions: |
504 if blockname in self.Functions: |
505 self.Functions[blockname]["interface"].update(interface) |
505 self.Functions[blockname]["interface"].update(interface) |
506 self.Functions[blockname]["extensible"] |= blocktype["extensible"] |
506 self.Functions[blockname]["extensible"] |= blocktype["extensible"] |
507 else: |
507 else: |