[jruby-joni] 239/279: Fix table renumbering

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 11f0f5505de3b6cde7f71ae81105ad0d61f6e9d6
Author: Marcin Mielzynski <lopx at gazeta.pl>
Date:   Thu Apr 2 18:52:19 2015 +0200

    Fix table renumbering
---
 src/org/joni/Analyser.java | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/org/joni/Analyser.java b/src/org/joni/Analyser.java
index 6cbe9c1..e0a53ab 100644
--- a/src/org/joni/Analyser.java
+++ b/src/org/joni/Analyser.java
@@ -267,6 +267,10 @@ final class Analyser extends Parser {
             break;
 
         case NodeType.ENCLOSE:
+            EncloseNode en = (EncloseNode)node;
+            if (en.type == EncloseType.CONDITION) {
+                en.regNum = map[en.regNum];
+            }
             renumberByMap(((EncloseNode)node).target, map);
             break;
 

-- 
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