beremiz

862d9adcd904
Parents ffe0fba7e427
Children ba136820dd7d
Bug when trying to generate LPCBus code fixed
--- 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"