[jruby-joni] 02/11: this must be a dead code...

Hideki Yamane henrich at moszumanska.debian.org
Fri Mar 18 23:24:23 UTC 2016


This is an automated email from the git hooks/post-receive script.

henrich pushed a commit to branch debian/sid
in repository jruby-joni.

commit d99ccfbe8dc66eff63bc5e9b0f4026ae83228729
Author: Marcin Mielzynski <lopx at gazeta.pl>
Date:   Wed Jan 13 18:49:29 2016 +0100

    this must be a dead code...
---
 src/org/joni/StackMachine.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/org/joni/StackMachine.java b/src/org/joni/StackMachine.java
index b3d1106..07e5e04 100644
--- a/src/org/joni/StackMachine.java
+++ b/src/org/joni/StackMachine.java
@@ -383,14 +383,14 @@ abstract class StackMachine extends Matcher implements StackType {
                 break;
             } else if (e.type == MEM_START) {
                 repeatStk[memStartStk + e.getMemNum()] = e.getMemStart();
-                repeatStk[memEndStk + e.getMemNum()] = e.getMemStart();
+                repeatStk[memEndStk + e.getMemNum()] = e.getMemEnd();
             } else if (e.type == REPEAT_INC) {
                 //int si = stack[stk + IREPEAT_INC_SI];
                 //stack[si + IREPEAT_COUNT]--;
                 stack[e.getSi()].decreaseRepeatCount();
             } else if (e.type == MEM_END){
                 repeatStk[memStartStk + e.getMemNum()] = e.getMemStart();
-                repeatStk[memEndStk + e.getMemNum()] = e.getMemStart();
+                repeatStk[memEndStk + e.getMemNum()] = e.getMemEnd();
             } else if (Config.USE_COMBINATION_EXPLOSION_CHECK) {
                 if (e.type == STATE_CHECK_MARK) stateCheckMark();
             }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/jruby-joni.git



More information about the pkg-java-commits mailing list