Bug when trying to generate LPCBus code fixed
authorlaurent
Wed, 16 Dec 2009 15:08:38 +0100
changeset 530 862d9adcd904
parent 529 ffe0fba7e427
child 531 ba136820dd7d
Bug when trying to generate LPCBus code fixed
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"