[jruby-joni] 238/279: Fix opcode impl
Hideki Yamane
henrich at moszumanska.debian.org
Mon Nov 16 11:27:43 UTC 2015
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 8a5590b0b514a1fd55bd91ca36ea0f7bd1d122cf
Author: Marcin Mielzynski <lopx at gazeta.pl>
Date: Thu Apr 2 11:31:34 2015 +0200
Fix opcode impl
---
src/org/joni/ByteCodeMachine.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/org/joni/ByteCodeMachine.java b/src/org/joni/ByteCodeMachine.java
index 4535f4c..a6a0cdd 100644
--- a/src/org/joni/ByteCodeMachine.java
+++ b/src/org/joni/ByteCodeMachine.java
@@ -706,7 +706,7 @@ class ByteCodeMachine extends StackMachine {
private void opCondition() {
int mem = code[ip++];
int addr = code[ip++];
- if (mem > regex.numMem || repeatStk[memEndStk + mem] != INVALID_INDEX || repeatStk[memStartStk + mem] != INVALID_INDEX) {
+ if (mem > regex.numMem || repeatStk[memEndStk + mem] == INVALID_INDEX || repeatStk[memStartStk + mem] == INVALID_INDEX) {
ip += addr;
}
}
--
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