Skip to content

Commit

Permalink
Fix use of variables in propagation
Browse files Browse the repository at this point in the history
  • Loading branch information
sorear committed Jan 30, 2012
1 parent 74ba1ec commit 852f0ff
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/Cursor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2041,8 +2041,8 @@ internal static P6any[] RunDispatch(Frame th, Cursor cursor) {
!(fromf.info.param[0] is P6any[]))
fromf = fromf.outer;
}
th.lex2 = fromf.pos;
th.lex3 = fromf.named;
th.lex3 = fromf.pos;
th.lex4 = fromf.named;

STable kl = cursor.mo;

Expand Down Expand Up @@ -2080,10 +2080,10 @@ internal static Frame StandardProtoC(Frame th) {
goto case 1;
th.rx.PushBacktrack(2);
th.ip = 3;
al = (Variable[])(((Variable[])th.lex2).Clone());
al = (Variable[])(((Variable[])th.lex3).Clone());
al[0] = Kernel.NewROScalar(th.rx.MakeCursor());
return (((P6any[])th.lex1)[th.lexi0++]).Invoke(th, al,
(VarHash)th.lex3);
(VarHash)th.lex4);
case 3:
th.lex2 = Builtins.start_iter((Variable) th.resultSlot);
goto case 4;
Expand Down

0 comments on commit 852f0ff

Please sign in to comment.