Skip to content
Browse files

Fix use of variables in propagation

  • Loading branch information...
1 parent 74ba1ec commit 852f0ffa1eb6c23bbe7ccbc38166fc8bf53d7e13 @sorear committed Jan 30, 2012
Showing with 4 additions and 4 deletions.
  1. +4 −4 lib/Cursor.cs
View
8 lib/Cursor.cs
@@ -2041,8 +2041,8 @@ public class Lexer {
!(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;
@@ -2080,10 +2080,10 @@ public class Lexer {
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;

0 comments on commit 852f0ff

Please sign in to comment.
Something went wrong with that request. Please try again.