LPCBeremiz.py
changeset 530 862d9adcd904
parent 526 68375ccdf968
child 539 6ff2c1d34640
--- 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"