1.1 --- a/micropython/ast.py Sun Feb 22 22:31:21 2009 +0100
1.2 +++ b/micropython/ast.py Sat Feb 28 01:49:33 2009 +0100
1.3 @@ -770,14 +770,19 @@
1.4 continue
1.5
1.6 # Generate code for the keyword and the positioning
1.7 - # operation.
1.8 + # operation. Get the value as the source of the assignment.
1.9
1.10 self.dispatch(arg.expr)
1.11 + self.record_value()
1.12 +
1.13 + # Store the source value using the callable's parameter
1.14 + # table information.
1.15 +
1.16 + self.new_op(temp)
1.17 self.new_op(StoreFrameIndex(paramindex))
1.18
1.19 - # use (callable+0)+paramindex+table
1.20 - # checks embedded offset against (callable+0)
1.21 - # moves the current value to frame+position
1.22 + self.set_source()
1.23 + self.discard_value()
1.24
1.25 # Record the highest possible frame position for this argument.
1.26