1.1 --- a/simplify.py Wed Aug 09 00:24:01 2006 +0200
1.2 +++ b/simplify.py Wed Aug 09 00:24:42 2006 +0200
1.3 @@ -750,7 +750,7 @@
1.4 # Make a subprogram for the function and record it outside the main
1.5 # tree.
1.6
1.7 - subprogram = Subprogram(name=function.name, acquire_locals=0, returns_value=1, star=None, dstar=None)
1.8 + subprogram = Subprogram(function, name=function.name, acquire_locals=0, returns_value=1, star=None, dstar=None)
1.9 self.current_subprograms.append(subprogram)
1.10 subprogram.code = self.dispatch(function.code) + [Return()]
1.11 self.current_subprograms.pop()