micropython/inspect.py | raw changeset files shortlog |
1.1 --- a/micropython/inspect.py Sun Sep 07 00:47:20 2008 +0200 1.2 +++ b/micropython/inspect.py Sun Sep 07 02:17:05 2008 +0200 1.3 @@ -540,6 +540,10 @@ 1.4 visitMod = OP 1.5 1.6 def visitModule(self, node): 1.7 + 1.8 + # Make a back reference from the node for code generation. 1.9 + 1.10 + node.unit = self 1.11 return self.dispatch(node.node) 1.12 1.13 visitMul = OP