1.1 --- a/fixnames.py Fri Feb 23 01:29:50 2007 +0100
1.2 +++ b/fixnames.py Sun Feb 25 01:50:23 2007 +0100
1.3 @@ -396,14 +396,14 @@
1.4
1.5 return self.default(invoke)
1.6
1.7 - def visitInvokeBlock(self, invoke):
1.8 + def visitInvokeRef(self, invoke):
1.9
1.10 "Transform the 'invoke' node, performing processing on subprograms."
1.11
1.12 # The special case of internal subprogram invocation is addressed by
1.13 # propagating namespace information to the subprogram and processing it.
1.14
1.15 - subprogram = self.process_node(invoke.expr.ref, self.namespace)
1.16 + subprogram = self.process_node(invoke.ref, self.namespace)
1.17 if subprogram is not None:
1.18 self.subprograms.append(subprogram)
1.19 return invoke