equal
deleted
inserted
replaced
311 if next is not None: |
311 if next is not None: |
312 i += 1 |
312 i += 1 |
313 group = next |
313 group = next |
314 var_loc = loc[i:] |
314 var_loc = loc[i:] |
315 for variable in _GetModuleChildren(group): |
315 for variable in _GetModuleChildren(group): |
316 if variable["location"] == var_loc: |
316 if variable["location"] == var_loc and location["DIR"] == LOCATION_DIRS[variable["type"]]: |
317 # if location["DIR"] != LOCATION_DIRS[variable["type"]]: |
317 # if location["DIR"] != LOCATION_DIRS[variable["type"]]: |
318 # raise Exception, "Direction conflict in variable definition" |
318 # raise Exception, "Direction conflict in variable definition" |
319 # if location["IEC_TYPE"] != variable["IEC_type"]: |
319 # if location["IEC_TYPE"] != variable["IEC_type"]: |
320 # raise Exception, "Type conflict in variable definition" |
320 # raise Exception, "Type conflict in variable definition" |
321 if location["DIR"] == "Q": |
321 if location["DIR"] == "Q": |