# HG changeset patch # User laurent # Date 1260972518 -3600 # Node ID 862d9adcd904dea8fe6b9ec8701c47120aecc11e # Parent ffe0fba7e427c0066e127cfa9b20dc7861f3713d Bug when trying to generate LPCBus code fixed diff -r ffe0fba7e427 -r 862d9adcd904 LPCBeremiz.py --- a/LPCBeremiz.py Wed Dec 16 15:07:47 2009 +0100 +++ b/LPCBeremiz.py Wed Dec 16 15:08:38 2009 +0100 @@ -306,7 +306,7 @@ i += 1 group = next var_loc = loc[i:] - for variable in group["children"]: + for variable in _GetModuleChildren(group): if variable["location"] == var_loc: if location["DIR"] != LOCATION_DIRS[variable["type"]]: raise Exception, "Direction conflict in variable definition"